Академический Документы
Профессиональный Документы
Культура Документы
receiverKnowsCarrier= 'False'; %If receiver knows the carrier frequency & phase offset
%Phase Modulation
figure(); subplot(2,1,1)
subplot(2,1,2)
%If receiver don't know the carrier, estimate the subtraction term
if strcmpi(receiverKnowsCarrier,'True')
else
estimated = polyval(p,t); %re-evaluate the offset term using the fitted values
offsetTerm = estimated;
end
figure()
0.5
m(t)
-0.5
-1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
t
Modulated signal
1
0.5
x(t)
-0.5
-1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
t
Demodulated signal
1.5
0.5
\hat{m(t)}
-0.5
-1
-1.5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
n