CE4.1 case 1

CE4.1 case 1 - % Answer from Matlab

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

View Full Document Right Arrow Icon
Sheet1 Page 1 %------------------------------------------------- %------------------------------------------------- % CE 4.1 (case 1) %------------------------------------------------- A = [0 1 0 0 0 0 B = [0 0 0 C = [1 0 0 0 0 0 D = [0] JbkR = ss(A,B,C,D) Q = obsv(JbkR) Q1=[C CharPoly = poly(A) % characteristic polynomial if (rank(Q) == size(A,1)) % Logic to assess % observability disp('System is observable.') else disp('System is NOT observable.') end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % Answer from Matlab %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% a)System is observable since rank of Q= 6 and n=6 Sheet1 Page 2-30 -1.2 20 0.8 0 0 0 0 0 1 0 0 10 0.4 -25 -1 15 0.6 0 0 0 0 0 1 1 0 0 0 0 0 0 0.5 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0] % Define model from state-space % Calculate observability C*A] % Check Q via the formula % Determine the system Sheet1 Page 3 0 0 10 0.4 -23.33 -.93] 0 0 0.333] % Define the state-space realization...
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 / 3

CE4.1 case 1 - % Answer from Matlab

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

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