draw waveform of spectra
조회 수: 5 (최근 30일)
이전 댓글 표시
carrier of 20MHz is amplitude modulated with a signal frequency of 3 kHz and
amplitude 5V.if ma=0.5, sketch the spectra of the waveform
댓글 수: 0
답변 (1개)
Pratheek
2023년 3월 31일
Use this script to plot the Amplitude Modulated Spectrum.
% Define the Baseband signal
t = linspace(0, 1, 1000);
Am=5;
fm=3000;
x = Am*cos(2*pi*fm*t);
% Define the carrier signal
fc = 5000000;
Ac = 10;% modulation index is the ratio of amplitudes of message and carrier signals
c = Ac*cos(2*pi*fc*t);
% Modulate the carrier with the baseband signal
m = 0.5;
s = Ac*cos(2*pi*fc*t).*(1+0.5*cos(2*pi*fm*t));
% Plot the time-domain waveform
subplot(3,1,3);
plot(t, s);
xlabel('Time (s)');
ylabel('Amplitude');
title('Spectrum of AM Signal');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Test and Measurement에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!