miguelmarve

Untitled

Apr 11th, 2014
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.33 KB | None | 0 0
  1. clc;
  2. close all;
  3. clear all;
  4. numg=[0 1];
  5. deng=poly([-17 -19 -22]);
  6. 'Funcion de transferencia'
  7. G=tf(numg,deng)
  8. 'Factorizada'
  9. Gfac=zpk(G)%en forma factorizada
  10. rlocus(G)
  11. title(['LGR'])
  12. pause();%miramos un momento la grafica
  13. sgrid(0.707,0) %factor de amortiguamiento
  14. [K,p]=rlocfind(G);
  15. 'Polos en lazo cerrado= '
  16. p
  17. 'Valor de K='
  18. K
Advertisement
Add Comment
Please, Sign In to add comment