# HW - Transfer function-s^2 3 s 2 a,b,c see the attached...

This preview shows pages 1–4. Sign up to view the full content.

Sheet1 Page 1 %------------------------------------------------------ % CME 2.1 %------------------------------------------------------ A = [-1 0 B = [1 C = [1 -(sqrt(2)/2)] D = [0] JbkR = ss(A,B,C,D) Trans=tf(JbkR) % a) impulse(JbkR) % b) step(JbkR) % c) t=0:0.1:7 u=zeros(size(t)) x0=[1 lsim(JbkR,u,t,x0) % d) [JbkRm,Tm]=canon(JbkR,'modal') Am=JbkRm.a Bm=JbkRm.b Cm=JbkRm.C Dm=JbkRm.D %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Answer %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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

View Full Document

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Transfer function:-------------s^2 + 3 s + 2 % a,b,c) see the attached pages % d) Tm = 1 0 1 Am =-1 0 -2 Bm = Sheet1 Page 2 Cm = 1.0000 -0.7071 Dm = Sheet1 Page 3 0 -2] % Define the state-space realization sqrt(2)] % Define model from state-space % Transfer function % plot impulse response % plot the unit step response %-1] % diagonal form Sheet1 Page 4...
View Full Document

## This note was uploaded on 09/14/2011 for the course ELEN 236 taught by Professor Dr.migdathodzic during the Spring '11 term at Santa Clara.

### Page1 / 4

HW - Transfer function-s^2 3 s 2 a,b,c see the attached...

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

View Full Document
Ask a homework question - tutors are online