کد متلب سیگنال مدولاسیونfm
function Sfm=My_FM_moulation1(fc,k,t,Sm);
% t=[0:0.001:1];
% Sm=cos((2*pi*fc*t)-msin(2*pi*fm*t)); %Massage Signal%
subplot(3,1,1);
plot(t,Sm);
xlabel('Time');
ylabel('Amplitude');
title('Massage Signal');
grid on ;
Sc=cos(2*pi*fc*t); %Carrier Signal%
subplot(3,1,2);
plot(t,Sc);
xlabel('Time');
ylabel('Amplitude');
title('Carrier Signal');
grid on ;
Sfm=cos(1+k*Sm).*Sc; %FM Modoulation%
subplot(3,1,3);
plot(t,Sfm);
xlabel('Time');
ylabel('Amplitude');
title('FM Modoulation');
grid on ;
% t=[0:0.001:1];
% Sm=cos((2*pi*fc*t)-msin(2*pi*fm*t)); %Massage Signal%
subplot(3,1,1);
plot(t,Sm);
xlabel('Time');
ylabel('Amplitude');
title('Massage Signal');
grid on ;
Sc=cos(2*pi*fc*t); %Carrier Signal%
subplot(3,1,2);
plot(t,Sc);
xlabel('Time');
ylabel('Amplitude');
title('Carrier Signal');
grid on ;
Sfm=cos(1+k*Sm).*Sc; %FM Modoulation%
subplot(3,1,3);
plot(t,Sfm);
xlabel('Time');
ylabel('Amplitude');
title('FM Modoulation');
grid on ;
+ نوشته شده در سه شنبه ۱۲ دی ۱۳۹۱ ساعت 5:48 PM توسط nourollah joya
|
مقدم شما عزیزان را به "جویابرق" ارج مینهیم ،این وبلاگ جهت "جستوجو "و ارائه مقالات وپروژهای علمی در زمینه "اقیانوس عظیم برق "درست گردیده ،تا هم اهالی این رشته بزرگ و مهم فنی و مهندسی از آن استفاده کنند .وهم از علم و تجارب استادان ،اندیشمندان،مهندسان،دانشجویان و کاربران این اقیانوس بزرگ بهره جست.در پایان "جویابرق"بیصبرانه منتظر نقطه نظرات و پیشنهادهای شما دوستان گرامی است .که موجب خوشحالی ما وتشکرازشما می گردد…!