EE_Oct_20_2009

EE_Oct_20_2009 - for n=6:10...

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

View Full Document Right Arrow Icon
t=0:2e-6:2e-3; vst=0.5*ones(size(t)); for n=1:5 vst=vst-(1/(n*pi))*sin(2000*n*pi*t); end subplot(1,2,1) plot(t,vst) axis([0 2e-3 -0.5 1.5])
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for n=6:10 vst=vst-(1/(n*pi))*sin(2000*n*pi*t); end subplot(1,2,2) plot(t,vst) axis([0 2e-3 -0.5 1.5]) a...
View Full Document

This note was uploaded on 09/15/2011 for the course EE 150 at USC.

Ask a homework question - tutors are online