Advertisement
Ostu

Untitled

Mar 15th, 2021
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.40 KB | None | 0 0
  1. %% wartosci ogolne
  2. n1=7;
  3. n2=9;
  4. k=n1/n2
  5. m1=n1
  6. m2=4*n2
  7. t=2*n2+4
  8. obiekt=tf([k],[1,m2,m1,1],'IODelay',t)
  9. %% charakterystyki czasowe
  10. figure(1)
  11. impulse(obiekt)
  12. figure(2)
  13. step(obiekt)
  14. %% kupfmuller
  15. s=tf('s')
  16. transkupf=tf([0.778],[10.8 1])
  17. modelkupf=transkupf*exp(-24.5*s)
  18. figure(3)
  19. step(obiekt)
  20. hold on
  21. step(modelkupf)
  22. hold off
  23. figure(4)
  24. impulse(obiekt)
  25. hold on
  26. impulse(modelkupf)
  27. hold off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement