Wednesday, July 22, 2015
Thursday, April 23, 2015
Thursday, March 19, 2015
Sunday, March 15, 2015
Monday, March 9, 2015
Friday, November 28, 2014
AM generation using MATLAB!!!
AM generation code for MATLAB!
%AM generation
t=0:0.001:1;
m=input('Enter modulation Index');
ms=5*sin(2*pi*5*t); %Message signal
cs=5*sin(2*pi*50*t); %Carrier signal
Am=(5+m*ms).*sin(2*pi*100*t);%AM signal
subplot(3,1,1);
plot(t,ms);
xlabel('Time');
ylabel('Amplitude');
title('Message signal');
subplot(3,1,2);
plot(t,cs);
xlabel('Time');
ylabel('Amplitude');
title('Carrier signal');
subplot(3,1,3);
plot(t,Am);
xlabel('Time');
ylabel('Amplitude');
title('AM signal');
Output:
Enter modulation Index 1
%AM generation
t=0:0.001:1;
m=input('Enter modulation Index');
ms=5*sin(2*pi*5*t); %Message signal
cs=5*sin(2*pi*50*t); %Carrier signal
Am=(5+m*ms).*sin(2*pi*100*t);%AM signal
subplot(3,1,1);
plot(t,ms);
xlabel('Time');
ylabel('Amplitude');
title('Message signal');
subplot(3,1,2);
plot(t,cs);
xlabel('Time');
ylabel('Amplitude');
title('Carrier signal');
subplot(3,1,3);
plot(t,Am);
xlabel('Time');
ylabel('Amplitude');
title('AM signal');
Output:
Enter modulation Index 1
Generation of FM using MATLAB!!!
FM generation code for MATLAB!
%FM generation
t=0:0.001:1;
m=input('Enter modulation Index');
ms=5*sin(2*pi*5*t); %Message signal
cs=5*sin(2*pi*100*t); %Carrier signal
Fm=10*sin(2*pi*50*t+(m.*sin(2*pi*5*t)));%FM signal
subplot(3,1,1);
plot(t,ms);
xlabel('Time');
ylabel('Amplitude');
title('Message signal');
subplot(3,1,2);
plot(t,cs);
xlabel('Time');
ylabel('Amplitude');
title('Carrier signal');
subplot(3,1,3);
plot(t,Fm);
xlabel('Time');
ylabel('Amplitude');
title('FM signal');
Output:Enter modulation Index 5
%FM generation
t=0:0.001:1;
m=input('Enter modulation Index');
ms=5*sin(2*pi*5*t); %Message signal
cs=5*sin(2*pi*100*t); %Carrier signal
Fm=10*sin(2*pi*50*t+(m.*sin(2*pi*5*t)));%FM signal
subplot(3,1,1);
plot(t,ms);
xlabel('Time');
ylabel('Amplitude');
title('Message signal');
subplot(3,1,2);
plot(t,cs);
xlabel('Time');
ylabel('Amplitude');
title('Carrier signal');
subplot(3,1,3);
plot(t,Fm);
xlabel('Time');
ylabel('Amplitude');
title('FM signal');
Output:Enter modulation Index 5

Subscribe to:
Posts (Atom)
Some useful parameters
Dielectric constant Metals have infinite Dielectric constant As usually metals permittivity is very large than of free space hence its Die...
-
Building Logic gates using Op-amp 1.AND gate using op-amp:circuit diagram Check out the above circuit At inverting input of op...
-
System Design Technologies There are four design technologies: Fixed-Function IC Full Custom ASIC Semi Custom ASIC PLD Technology Fixed-Fun...