Advertisement
Ostu

Untitled

Apr 20th, 2021
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.18 KB | None | 0 0
  1. %% symulacja
  2. t1=0:0.01:10;
  3. t2=0:0.01:100;
  4. w1=0.1;
  5. w2=0.99;
  6. up=sin(w1*t2);
  7. uz=sin(w2*t1);
  8. figure(5)
  9. lsim(H(2),up,t2)
  10. title 'w=0.1'
  11. figure(6)
  12. lsim(H(2),uz,t1)
  13. title 'w=0.99'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement