mec 320 homework 9

Post on 11-Nov-2015

213 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Graph for homework

TRANSCRIPT

Elianne Gabbay 108717291Homework 9

%Homework 9 Problem 3clearclcT = 1;wo = (2*pi)/T;t = [-1:1/256:1];term_1 = (-2/pi)*sin(wo*t);term_2 = (1/pi)*sin(2*wo*t);term_3 = (-2/(3*pi))*sin(3*wo*t);sum = term_1+term_2+term_3;figureplot(t,sum,t,term_1,t,term_2,t,term_3)legend('term_1','term_2','term_3','sum')

top related