How to modulate with qam?

조회 수: 2 (최근 30일)
Dikshant Adhikari
Dikshant Adhikari 2017년 9월 21일
How do I use the modulate function with the qam parameter? My code is below, but I do not think this is the correct way.
%%Time specifications:
Fs = 737e6; % samples per second
dt = 1/Fs; % seconds per sample
StopTime = 0.000001; % seconds
t = (0:dt:StopTime-dt)'; % seconds
%%Cosine wave:
Fc = 30e6; % hertz
x = cos(2*pi*Fc*t);
%%Sine wave:
y = sin(2*pi*Fc*t);
%%Resize to first 320 points
x = x(1:1:320,:);
y = y(1:1:320,:);
fmSig = modulate(x, Fc*2, Fs, 'qam', y);
plot(fmSig);

답변 (0개)

카테고리

Help CenterFile Exchange에서 QAM에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by