nivs

Untitled

Jan 23rd, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  def Nyquist((A, B, C, D), T):
  2.     sys = ss(A, B, C, D)
  3.     real, imag, freq = nyquist(sys, omega=arange(T[0], T[1], T[2]), Plot=False)
  4.     plot(real, imag)
  5.     title('Nyquist construction')
  6.     xlabel('Real')
  7.     ylabel('Imag')
  8.     grid(color='g', linestyle='--')
  9.     show()
Advertisement
Add Comment
Please, Sign In to add comment