Nyquist:

--------------------------------------------------------------------------
  Generate a Nyquist plot from a statespace object or gain/phase data.
--------------------------------------------------------------------------
   Usage:
     [x,y] = Nyquist( g )
     [x,y] = Nyquist( g, w )
     [x,y] = Nyquist( g, w, iU, iY )
     [x,y] = Nyquist( gain, phase )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g              (.)     Statespace object (see "statespace")
   w              (.)     Frequency vector [rad/s]
   iU             (1)     Input index
   iY             (1)     Output index

  -or-

   gain          (1,:)    Magnitude from frequency response (see "FResp")
   phase         (1,:)    Phase from frequency response [deg]

   -------
   Outputs
   -------
   x             (1,:)    x-axis data, gain*cos(phase)
   y             (1,:)    y-axis data, gain*sin(phase)

--------------------------------------------------------------------------

Children:

Common: Classes/@statespace/statespace.m
Common: Control/FResp
Common: Graphics/Plot2D
Common: Math/CosD
Common: Math/SinD