Ostu

Untitled

Dec 2nd, 2020
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.24 KB | None | 0 0
  1. %% Zbiornik 2
  2. A1=4;
  3. Aw=3;
  4. g=9.81;
  5. hmax=10;
  6. Az2=[(-Aw*sqrt(2*g*hmax)/A1]
  7. Bz2=[1/A1]
  8. Cz2=[1]
  9. Dz2=[0]
  10. Z2=ss(Az2,Bz2,Cz2,Dz2)
  11. figure(1)
  12. step(Z2)
  13. figure(2)
  14. impulse(Z2)
  15. figure(3)
  16. nyquist(Z2)
  17. figure(4)
  18. bode(Z2)
  19. figure(5)
  20. pzmap(Z2)
Add Comment
Please, Sign In to add comment