Advertisement
Ostu

Untitled

May 12th, 2021
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.39 KB | None | 0 0
  1. %% Graficzna reprezentacja
  2. sim('x')
  3.  
  4. figure(1)
  5. plot(t,y)
  6. hold on
  7. plot(t,yPP)
  8. xlabel(' ')
  9. ylabel(' ')
  10. legend('Odpowiedź przed PP','Odpowiedź po PP')
  11. title(' ')
  12. xlim([0 450])
  13.  
  14. figure(2)
  15. plot(t,r)
  16. hold on
  17. plot(t,y)
  18. plot(t,yPP)
  19. plot(t,PP,'r--')
  20. xlabel(' ')
  21. ylabel(' ')
  22. legend('Sygnał zadany','Odpowiedź przed PP','Odpowiedź po PP','Sygnał regulacji')
  23. title(' ')
  24. xlim([0 450])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement