You are on page 1of 1

Yamuk Diyagramı

f0=140;
fb=1;
A=1;
A0=4;
...t=0:0.001:1;
fbt=10*(-0.636+abs(cos(2*pi*fb*t)));
fot=A0*cos(2*pi*f0*t);
fmt=(A+fbt).*fot;
zmax=max(fmt);
fbtmin=min(fbt);
fbtmax=max(fbt);
subplot(1,2,1,'fontsize',18); plot(t,fbt); grid on
xlabel('t[ms]');ylabel('fbt'); title('bildiri işareti','fontsize',24);
subplot(1,2,2,'fontsize',18); plot(t,fmt); grid on
xlabel('t[ms]');ylabel('fmt'); title('modulasyonlu işaret','fontsize',24);

if (A>0) m=abs(fbtmin/A)
else if (A<0) m=abs(fbtmax/A)
end
end
figure(2)
plot(fbt,fmt); grid on
xlabel('fmt');ylabel('fbt'); title('yamuk diyagramı','fontsize',24);

You might also like