Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. clc;
  2. l = 1;
  3. m = conv([0.5 1], [1 2.5 2.5]);
  4. t = 0:0.1:10;
  5. yo= step(l,m,t);
  6. plot(t,yo),grid;
  7. [M i] = max(diff(yn));
  8. yn(12);
  9. [lp mp] = pade(0.29, 8);
  10. la = 0.4 * lp;
  11. ma = conv([0.58 1], [0.58 1]);
  12. ya = step(la,ma,t);
  13. plot(t,yo,t,ya),grid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement