1. Program to generate AM Signal and analyze the effect of increasing modulation index for each modulation technique.
Program to generate AM Signal and analyze the effect of increasing modulation index for each modulation technique.
// AM --> Amplitude Modulation Ac=5; // Amplitude of the Carrier Signal. Am=3; // Amplitude of the Modulating (Message) Signal. wm=1; wc=10; t=[1:0.002:13]; m=Am*cos(wm*t); c=Ac*cos(wc*t); meu=0.2; Sam=Ac*(1+meu.*cos(wm*t)).*cos(wc*t); plot(t,m, 'black', t,c, 'red', t,Sam , 'blue'); legend('message', ['carrier'], ['combined']); xtitle('Amplitude Modulation'); xlabel('Time'); ylabel('Amplitude');
// Output
![]() |
AM --> Amplitude Modulation |

Comments
Post a Comment