Advertisement
Ostu

Untitled

Dec 3rd, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.33 KB | None | 0 0
  1. %% Zbiornik 6
  2. A1=4;
  3. A2=5;
  4. g=9.81;
  5. Aw1=2;
  6. Aw2=2;
  7. hdiffmax=9;
  8. hmax2=10;
  9. a1z6=Aw2*sqrt(2.*g).*hmax2.^-0.5;
  10. Az6 = [0, 0; 0, -a1z6/A2];
  11. Bz6 = [1/A1 -1/A1; 1/A2, -1/A2];
  12. Cz6 = [0 1];
  13. Dz6 = 0;
  14. Z6=ss(Az6,Bz6,Cz6,Dz6);
  15. figure(1)
  16. step(Z6)
  17. figure(2)
  18. impulse(Z6)
  19. figure(3)
  20. nyquist(Z6)
  21. figure(4)
  22. bode(Z6)
  23. figure(5)
  24. pzmap(Z6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement