Can anyone please help me out to obtain frequency Modulated wave from a Phase Modulator using pmmod function in matlab?

1 view (last 30 days)
danesh raju
danesh raju on 12 Jan 2022
Answered: Walter Roberson on 13 Jan 2022
Can anyone please help me out to obtain frequency Modulated wave from a Phase Modulator using pmmod function in matlab?

Answers (1)

Walter Roberson
Walter Roberson on 13 Jan 2022
fs = 50;
t = (0:2*fs+1)'/fs;
x = sin(2*pi*t) + sin(4*pi*t);
fc = 10;
phasedev = pi/2;
tx = pmmod(x,fc,fs,phasedev);
subplot(2,1,1)
plot(t,x); title('original')
subplot(2,1,2)
plot(t, tx); title('modulated')

Tags

Products

Community Treasure Hunt

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

Start Hunting!