Advertisement
Ostu

Untitled

Mar 15th, 2021
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.62 KB | None | 0 0
  1. %% charakterystyki czestotliwosciowe
  2. figure(5)
  3. nyquist(obiekt)
  4. ylim([-0.9 0.9])
  5. xlim([-0.9 0.9])
  6. title 'Obiekt'
  7. figure(6)
  8. nyquist(modelkupf)
  9. ylim([-0.9 0.9])
  10. xlim([-0.9 0.9])
  11. title 'Model'
  12. figure(7)
  13. bode(obiekt)
  14. hold on
  15. bode(modelkupf)
  16. legend('Obiekt', 'Model')
  17. figure(8)
  18. margin(obiekt)
  19. figure(9)
  20. margin(modelkupf)
  21. [ZapasModuluModelu, ZapasFazyModelu] =  margin(modelkupf)
  22. [ZapasModuluObiektu, ZapasFazyObiektu] = margin(obiekt)
  23. PasmoObiektu=bandwidth(obiekt)
  24. PasmoModelu=bandwidth(modelkupf)
  25. %% bieguny i zera
  26. figure(10)
  27. pzplot(obiekt)
  28. title 'Obiekt'
  29. xlim([-40 5])
  30. figure(11)
  31. pzplot(modelkupf)
  32. title 'Model'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement