PM and FM signal

12 views (last 30 days)
Kanard
Kanard on 12 May 2018
Answered: Mohammed Elsayed on 18 May 2022
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
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?
Kanard
Kanard on 13 May 2018
hi, it's just a range given by my exercise from -1ms<t<1ms. And is this correct formula for Pm signal? which vq is input signal and fo1 is the carrier frequency.
vp = cos(2*pi*fo1*tq + delp*vq); %pm signal

Sign in to comment.

Answers (1)

Mohammed Elsayed
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');

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!