PM and FM signal
12 views (last 30 days)
Show older comments
Hello, I want to know if there is any problem with my code of phase modulated signal and how can I perform frequency modulated signal direct from this PM signal? Theoretically, I can use an integral for this PM signal and I can have immediately FM signal, but I don't know how to express that in Matlab. Thanks for your help.
fa = 3e5; %sampling frequency
delp = pi; %phasehub
fo1 = 15000; %carrier frequency
tq = -1e-2:0.0001:1e-2;
vq = cos(2*pi*1500*tq); %Source Signal
vp = cos(2*pi*fo1*tq + delp*vq); %pm signal
plot(tq,vp);
title('Phasen signal');
xlabel('time');
ylabel('Amplitude');
2 Comments
KALYAN ACHARJYA
on 12 May 2018
Edited: KALYAN ACHARJYA
on 13 May 2018
For phase modulation (any modulation) you need two signals, a carrier signal, and input modulation signal, the output will modulated wave.
tq Time starts in minus...?
Clarify?
Answers (1)
Mohammed Elsayed
on 18 May 2022
fa = 3e5; %sampling frequency
delp = pi; %phasehub
fo1 = 15000; %carrier frequency
tq = -1e-2:0.0001:1e-2;
vq = cos(2*pi*1500*tq); %Source Signal
vp = cos(2*pi*fo1*tq + delp*vq); %pm signal
plot(tq,vp);
title('Phasen signal');
xlabel('time');
ylabel('Amplitude');
0 Comments
See Also
Categories
Find more on PHY Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!