time domain plot from built in 'fskmod' function

hi.....
am trying for obtaining time domain plot of the results from the built in 'fskmod'function.....
M = 4; freqsep = 8; nsamp = 8; Fs = 32;
x = randint(1000,1,M); % Random signal
y = fskmod(x,M,freqsep,nsamp,Fs); % Modulate.
ly = length(y);
% Create an FFT plot.
freq = [-Fs/2 : Fs/ly : Fs/2 - Fs/ly];
Syy = 10*log10(fftshift(abs(fft(y))));
plot(freq,Syy)
i want the plot of modulated signal.....i.e. QFSK with 4 distinct carriers.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2012년 2월 16일

편집:

2015년 8월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by