hw4_sol - + x0(1)) * t .* exp(-t); % note that the full...

Info iconThis preview shows pages 1–10. 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 DocumentRight 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 DocumentRight 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 DocumentRight 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 DocumentRight Arrow Icon
Background image of page 8
a = [1,0,0; - 1,1,1; - 4, - 4, - 3]; J = [1,0,0;0, - 1,1;0,0, - 1]; v = [1,0,0;2,1,0;3,2,1]; syms s t disp( 'verify part i' ) v * a - J * v disp( 'verify part ii' ) L = s * eye(3) - a; det(L) * inv(L) inv(L)gi
Background image of page 9

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

View Full DocumentRight Arrow Icon
close all a = [ - 2, - 1;1,0]; b = [1;0]; c = [0,1]; d = 0; sys = ss(a,b,c,d); t = [0 : .01 : 10]'; u = 3 * exp( - 2 * t); x_impulse = (3 * t - 3) .* exp( - t) + 3 * exp( - 2 * t); x0 = [ - 1;1]; x_zero = x0(2) * exp( - t) + (x0(2)
Background image of page 10
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: + x0(1)) * t .* exp(-t); % note that the full response is the sum of the forced and % zero-input responses (follows from linearity) x_analytical = x_impulse + x_zero; [xsim0,T,x_state] = lsim(sys,u,t); [xsim,T,x_state] = lsim(sys,u,t,x0); plot(T,xsim) hold on plot(T,x_analytical, 'r-.' )...
View Full Document

Page1 / 10

hw4_sol - + x0(1)) * t .* exp(-t); % note that the full...

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

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