[text] pj

Viewer

  1. %pi controller
  2. % unity feedback second order system with K=1
  3. G=tf([13],[1 6 13])
  4. T=feedback(G,1)
  5. pole(T)
  6. subplot(2,2,1)
  7. step(T)
  8. subplot(2,2,2)
  9. rlocus(T)
  10. % unity feedback second order system with K=100 G=tf([10*13],[1 6 
  11. 13])
  12. T=feedback(G,1)
  13. pole(T)
  14. subplot(2,2,3)
  15. step(T)
  16. subplot(2,2,4)
  17. rlocus(T)
  18.  

Editor

You can edit this paste and save as new:


File Description
  • pj
  • Paste Code
  • 02 May-2024
  • 314 Bytes
You can Share it: