nivs

Untitled

Dec 18th, 2012
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A = [-10 0 -100; 2 -2 0; 0 0.1 0.2];
  2. B = [10; 0; 0];
  3. C = [0 0 1];
  4. D = [0];
  5. syms t
  6. wn = C * expm(A * t) * B;
  7. tn = [0:0.01:7];
  8. plot(tn, yn), grid on;
Advertisement
Add Comment
Please, Sign In to add comment