please help me to solve this problem.plot a message signal with 5Hz and the amplitude is 10. Then plot the carrier signal with 50Hz and the amplitude is 10. Finally, plot th

조회 수: 2 (최근 30일)
suppose to plot message signal, carrier signal and AM signal

답변 (1개)

VIGNESH B S
VIGNESH B S 2022년 1월 7일
clc
clear
t = 0:0.01:10;
subplot(3,1,1);
m = sin(pi*t); %Message signal
plot(t,m,'Linewidth',2,'Color','b');
subplot(3,1,2);
n = sin(2*pi*5*t); %Carrier
plot(t,n,'Linewidth',2,'Color','#7E2F8E');
s = m.*n; %Command for modulated/AM signal.
subplot(3,1,3);
plot(t,s,'Linewidth',2,'Color','r');
%Change the amplitude and frequency of the signal..

카테고리

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

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by