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

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

View Full Document Right Arrow Icon
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);
Background image of page 1
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

This note was uploaded on 10/02/2011 for the course CSE 3451 taught by Professor A during the Spring '10 term at York University.

Ask a homework question - tutors are online