Skip to content

Instantly share code, notes, and snippets.

@cxytomo
Created October 29, 2012 02:00
Show Gist options
  • Save cxytomo/3970967 to your computer and use it in GitHub Desktop.
Save cxytomo/3970967 to your computer and use it in GitHub Desktop.
Diagrama de Nyquist
function prueba_estabilidad2(num, den)
sys = tf(num, den)
raices = roots(den)
nyquist(sys);
for i = 1:length(raices);
text(real(raices(i)), imag(raices(i)), "*");
printf("%f, %f",real(raices(i)), imag(raices(i)))
endfor
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment