KEMBAR78
Using Fplot | PDF | Teaching Methods & Materials
0% found this document useful (0 votes)
65 views2 pages

Using Fplot

matlab code ...I request Electronics and communication ENGINEERING students to visit my blog for more…… abhishek1ek.blogspot.com awhengineering.blogspot.com

Uploaded by

Abhishek Ek
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views2 pages

Using Fplot

matlab code ...I request Electronics and communication ENGINEERING students to visit my blog for more…… abhishek1ek.blogspot.com awhengineering.blogspot.com

Uploaded by

Abhishek Ek
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

%create a script file modulation that returns the following plot % 1 m(t) vs t % 2 carrier vs t % 3 AM vs t % 4 angle modulation (FM/PM) vs t % fplot(fun,limits)

plots fun between % the limits specified by limits. limits is % a vector specifying the x-axis limits ([xmin xmax]), % or the x- and y-axes limits, ([xmin xmax ymin ymax]). figure(1) subplot(2,2,1); fplot('3*cos(5*t)',[0 3 -6 6]); title('information signal'); ylabel('amplitude'); xlabel('time');

subplot(2,2,2); fplot('cos(50*t)',[0 .5 -1.5 1.5]); title('carrier signal'); ylabel('amplitude'); xlabel('time'); subplot(2,2,3); fplot('3*cos(50*t)*cos(5*t)',[0 3 -6 6]); title('amplitude modulated signal'); ylabel('amplitude'); xlabel('time'); subplot(2,2,4); fplot('3*cos((50*t)+3*cos(5*t))',[0 1.5 -6 6]); title('angle modulated signal'); ylabel('amplitude'); xlabel('time');

figure(2) subplot(3,1,1); fplot('3*cos(5*t)',[0 2 -6 6]); title('information signal'); ylabel('amplitude'); xlabel('time');

subplot(3,1,2); fplot('cos(50*t)',[0 2 -1.5 1.5]); title('carrier signal'); ylabel('amplitude'); xlabel('time'); subplot(3,1,3); fplot('3*cos((50*t)*3*cos(5*t))',[0 2 -6 6]); title('frequency modulated signal');

ylabel('amplitude'); xlabel('time');

I request Electronics and communication ENGINEERING students to visit my blog for more abhishek1ek.blogspot.com awhengineering.blogspot.com

You might also like