Advertisement
Ostu

Untitled

Dec 4th, 2020
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.27 KB | None | 0 0
  1. % simulink
  2. A1=4;
  3. A2=5;
  4. g=9.81;
  5. Aw1=0.5;
  6. Aw=0.5;
  7. figure(1)
  8. plot(out.tout,out.G)
  9. % model kupfmullera
  10. k2=0.204;
  11. T21=5.04;
  12. tau2=1;
  13. T22=T21-tau2;
  14. G2=tf([k2],[T22 1]);
  15. figure(2)
  16. step(G2, 'r')
  17. % zestawienie
  18. figure(3)
  19. plot(out.tout,out.G)
  20. hold on
  21. step(G2, 'r')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement