Download - MEC 320 Homework 9

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