![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/957915/image.png)
how to build a QAM Modulator
12 ビュー (過去 30 日間)
古いコメントを表示
How to use a modulator to modulate one of two signals into the I-channel and the other signal into the Q-channel. Use a carrier signal with 100 kHz frequency
0 件のコメント
回答 (1 件)
MD Rasel Basunia
2022 年 4 月 8 日
% QAM Modulation
fm=2000;% message signal frequency 2 KHz
fc=100000;% carrier frequency 5 KHz
Am = 2; % Amplitude of message signal
fs=100*fm% sampling frequency with oversampling factor 100
t=[0:1/fs:1e-3];% Time instance
%message signal m(t)=Am*cos(2*pi*fm*t)
% Quadrature component of message signal sin(2*pi*fm*t)
fm=2000;% message signal frequency 2 KHz
fc=100000;% carrier frequency 5 KHz
Am = 3 % Amplitude of message signal
x_QAM = 3*cos(2*pi*fm*t).*cos(2*pi*fc*t)+3*cos(2*pi*fm*t).*sin(2*pi*fc*t);%formul of QAM
plot(t,x_QAM,'k','linewidth',1.3);grid on;%ploting
xlabel(' Time(sec)');
ylabel(' Amplitude');
title('Time Domain Representation of QAM ');
%%output:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/957915/image.png)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で QAM についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!