1) The document describes a MATLAB program to generate an amplitude modulated (AM) signal by modulating a carrier signal with a message signal.
2) The program allows the user to vary the amplitude of the carrier and message signals as well as the modulation index to produce under, over, and critically modulated signals.
3) The output plots the carrier, message, and modulated signals on different subplots to visualize the effect of varying the modulation index.
1) The document describes a MATLAB program to generate an amplitude modulated (AM) signal by modulating a carrier signal with a message signal.
2) The program allows the user to vary the amplitude of the carrier and message signals as well as the modulation index to produce under, over, and critically modulated signals.
3) The output plots the carrier, message, and modulated signals on different subplots to visualize the effect of varying the modulation index.
1) The document describes a MATLAB program to generate an amplitude modulated (AM) signal by modulating a carrier signal with a message signal.
2) The program allows the user to vary the amplitude of the carrier and message signals as well as the modulation index to produce under, over, and critically modulated signals.
3) The output plots the carrier, message, and modulated signals on different subplots to visualize the effect of varying the modulation index.
Roll no. : 1705890 Section : CS-12 Write a MATLAB program to generate an amplitude modulated signal. Plot the carrier signal, modulating signal and the modulated signal. Vary the amplitude of the carrier and the modulating signal to vary the modulation index and plot the modulated wave for <100%, 100% and >100% modulation. Program to generate amplitude modulated signal using carrier and message signal.
Ac=input('enter carrier signal amplitude'); %AMPLITUDE OF CARRIER SIGNAL
Am=input('enter message signal amplitude');%AMPLITUDE OF MESSAGE SIGNAL
fc=50; %FREQUENCY OF CARRIER SIGNAL fm=10;% fm<fc FREQUENCY OF MESSAGE SIGNAL
m=input('enter modulation index');
t=1; t1=linspace(0,1,1000); y1=sin(2*pi*fm*t1); % message signal y2=sin(2*pi*fc*t1); % carrier signal eq=(1+m.*y1).*(Ac.*y2); subplot(311); plot(t1,y1); xlabel('Time'); ylabel('Amplitude'); title('Message signal') subplot(312) plot(t1,y2); xlabel('Time'); ylabel('Amplitude'); title('Carrier signal'); subplot(313); plot(t1,eq); plot(t1,eq,'r'); xlabel('Time'); ylabel('Amplitude'); title('Modulated signal'); When Ac=10 Am=5 and m=0.5 therefore it is undermodulated as m<100% , So the output will be: When Ac=5 Am=10 and m=2 therefore it is overmodulated as m>100% , So the output will be: When Ac=10 Am=10 and m=1 therefore it is critically modulated as m=100% , So the output will be: