HW5-Solns - .HWis\s 10 We Svcwdwxahv F076 we h¢Hfi ffia...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 8
Background image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: .HWis \s 10)) We Svcwdwxahv F076,: we \ ; h¢Hfi ffia $%Wd 4% “Wu, Melt ‘C we {2fo at M2 * MW”wa Q Q /5“ (1m / @g+23v+l®(§+x a> 355:: {£3712 7mg [91% Lem (“5‘ 53.2%“ ’ MEM/ adv" W P )6 7< 395%: "T711 9 WfVé ‘ @ gel ‘ Q3+25+f @) _‘ 5 C§&+234~3) (3+5) “Tim {‘ka Me ad ” 3) fay t0 mew, Rafi at? (Swami M, “PWXWW waii b7 1 5 A+2§v+5> ‘CM Man 0wa (‘3 MET “Vii? " Jffl 2/16/09 1:14 PM M:\SML Tan \MSU Teaching\EC E313 ControlSystems\3CE...\hw5 approx.m 1 of 1 '” ====================================================================================== clear %HW#5, Problem 1 sO=tf([l],[1 2 8]); sl=tf([11], [1 11]); 322tf([3], [1 3]); s3=tf([1 2.9],[1 3]); syswa=series(30,sl); sys_b=series(sO,sZ); sys_c=series(sO,s3)- [yO,tO]=step(sO,10); [ya,ta]=step(sys_a,10); [yb,tb]=step(sys_b,10); [yc,tc]=step(sys_c,10); I subplot(3,1,1) p10t<t0,y0,ta,ya,'——‘) grid x1abe1('Time') ylabe1(‘step response') 1egend('2rd order (sys O)‘ axis([0 lO 0 0.2]) subplot(3,1,2) plot(:O,yO,tb,yb,'——') grid xlabe1('Time‘) ylabek('Step response') 1egend('2rd order (sys O)‘ axis([0 10 O 0.2]) subplot(3,1,3) plot(t0,y0,ta,ya,'~—‘) grid x1abe1('Time'> ylabel(‘Step response') 1egend(‘2rd order (sys O)‘ axis([0 10 O 0.2]) '3rd order '3rd order '3rd order (sys a) ') (sys b)') (sys C)') 9W“me Woke/gm ! ,1 @559? ‘l ! a, : : 1 E 2rd order (eye 0) g .A .‘ . r . . . . r . A . . . . v . . . . . . . A . . . , . __ fl’ 8 , W...____.MW ...................... u- ........................... d... ..................... ,V U) . . . , , . . . . r . , V . , o .. : . . r . . . ,. e . Q. l 9 ,1 . , . . . V . . V . r . . . . , V . . . V , . . . . . . . . . . . . . , r . . V r . . . . . . . . . . V . , . . . . . . r . , . . V . . . . . . . . . r . . V ..j . . r , r . V H, w E 1 r _|_ 7 8 9 10 I . a, } 2rd order (sys 0) 2 ~~~~~~~3rd order(sys b) 8 r : : (D . . . . , r V . . , . . V , . . . . r , . V . . , . . . r r . .. 93 I a r (1) . . . . . , . . , . . r , . . . . . . . . . . . , . . . r , , . o r V V V . . . . . , . . H . ,H (75 g —| 1 l .4. 7 8 9 10 i q; 1 2rd order (sys 0) 9 ' ———— -- 3rd order (eye 0 ‘ , 9 r . . . , _ . V , . r r . . . . . d . r . V . . . . . . . . . . , , . . . r , . 4 , _ . . , V . r . A . . , _ . . , , r . . . . . . V V , V . . r . r . r . . .E . , , . . r . “fl 5' . . r . r . , . . . . V . . . . . . . . . . . . . , . A . . r . . . . . . . , , . . . . , . . . , . r . A . r . .:. ,. ., co 3 | I L__ 7 8 9 1O 4+. 1-?» "+5 a n-f“ 1..— ,‘J? “r‘ p.51; Um S"??le if; ., ‘Twc ~ ' ‘ \DO\@S‘ {W ’ “3905 (“if PM? :35 2.ng Rem mm ‘tc afieww—a Mow Nawg 32+S’ S”K§ Cats);- W ‘2 s4+§m§+3~2~ 036 W @ {6&5 flame J ®¥{ji/\{T Wit/f Wain") @ ‘ ‘ 03A Jusraw?5 P “1...— Raw ' zeimfi“ i???)qu V W'W V '7 ‘1':ka aimmm‘v’e. ? ( a (51m SEW C‘ije' 3;) J mix? $8539 {\A V/‘Njkk JCAV‘Q QVQM Rfim?v\%_ ‘ .3: Q :9 mi? 5303?; 3k jwmamr‘gn ‘ 3x};qu {:Mvze 6W2 6A a”? 4 P‘DM'XJ £4? swig yeifi Fm \“E'fjc ijLW-cm RV YWLHHQ 3S~¥< “>6 cxvxofi K >0 3?; LC? é (n WL‘E’K K 3 35‘) 4cm SySfivm mm sicfHajig. wt‘tl/x fwv Emfisflmw?wh SSfiks‘e 32+ ---—’\J’ | ‘3 “b @133 :: 5 51m ) cfi 8% S; fights; {maids} \\v\&{€m "EM ikwd Paw «33‘ {Ex O‘fim LWPa C Mqvfi Wang $‘T‘fiig‘Lg3 Tm a “SCUM—Hum {Veggwmca T: E arm/:31 :mfi Sigfi Mai V9514 HHS 2/16/09 5:40 PM M:\SML Tan\MSU Teaching\ECE313 ControlSystems\E...\hw5 problem4.mv l of 1 w a %% HW#5, Problem 4 sl=zpk((],[0 *2 -3],l); SZ=Zpk([0],,l); 53=feedback(51,52); K=35; s4=feedback(K*s3,l); step(s4,10) Amplitude Step Response -4 1 Time (see) «a hog wagxw‘d‘w Cb. Cubebct Q 58 3609M“) V ...
View Full Document

{[ snackBarMessage ]}

Page1 / 9

HW5-Solns - .HWis\s 10 We Svcwdwxahv F076 we h¢Hfi ffia...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online