{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# HW1 - >> H = simplify(VooverVi H =(2*s 2 s^2(s^4 2*s^3...

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

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 preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
>> % Problem 18(b) >> s = sym('s'); >> a11 = s + s/(s^2+1); a12 = -s/(s^2+1); a13 = -s; >> a22 = 1+1/s+s/(s^2+1); a23 = -1; a33 = 2*s+1; >> A = [a11 a12 a13;a12 a22 a23;a13 a23 a33]; >> b = [1;0;0]; >> c = [0 1 0]; >> I2overVi = c*inv(A)*b; >> VooverVi = (1/s)*I2overVi;
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: >> H = simplify(VooverVi) H = (2*s+2+s^2)/(s^4+2*s^3+3*s^2+3*s+2) >> % Problem 19(b) >> A = [1+1/s+(s^2+1)/s, -1; -1, s+1+1/s]; b = [1/s;1/s]; >> c = [0 1]; >> VooverVi = c*inv(A)*b; >> H = simplify(VooverVi) H = (2*s+2+s^2)/(s^4+2*s^3+3*s^2+3*s+2)...
View Full Document

{[ snackBarMessage ]}