q4from164

# q4from164 - set(gca'YTick-8:2:8 title'Imaginary f(t...

This preview shows page 1. Sign up to view the full content.

function [ output_args ] = q4from164( input_args ) %Q4FROM164 Summary of this function goes here % Detailed explanation goes here % t=0:0.01:3; x = 3 .* exp(-j*2*pi .*t + pi/4); xReal = real(x); xImag = imag(x); absolute = abs(x); angleG = angle(x); subplot(2,2,1); plot(t,xReal) set(gca,'XTick',0:0.5:3); set(gca,'YTick',-8:2:8); title('Real f(t)') xLabel('X') yLabel('Y') subplot(2,2,2) plot(t,xImag) set(gca,'XTick',0:0.5:3);
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: set(gca,'YTick',-8:2:8); title('Imaginary f(t)') xLabel('X') yLabel('Y') subplot(2,2,3) plot(t,absolute) axis([0,3,0,10]); set(gca,'XTick',0:0.5:3) set(gca,'YTick',0:5:10) title('Magnitude of f(t)') xLabel('X') yLabel('Y') subplot(2,2,4) plot(t,angleG) set(gca,'XTick',0:0.5:3); set(gca,'YTick',-8:2:8); title('Phase of f(t)') xLabel('X') yLabel('Y') end e...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern