FResp:

-------------------------------------------------------------------------------
   Compute the frequency response of the system
   .
   x = ax + bu
   y = cx + du

   for the input vector iu, and output vector iy. If no output arguments
   are given it will automatically display Bode plots for all channels.

   If only 1 output is requested, the complex values will be output.

-------------------------------------------------------------------------------
   Form:
   [mag, phase, w, io] = FResp( a, b, c, d, iu, iy, w, uPhase, pType )
   [mag, phase, w, io] = FResp( num, den, w, uPhase, pType )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   a                   Plant matrix
   b                   Input matrix
   c                   Measurement matrix
   d                   Input feedthrough matrix
   iu                  Inputs  ( = 0, or leave out for all)
   iy                  Outputs ( = 0, or leave out for all)
   w            (1,:)  Frequency vector
   uPhase       (1,:)  Unwrap phase = 'wrap' to wrap it within 180 deg
   pType        (1,:)  'bode' or 'nichols'

   -------
   Outputs
   -------
   mag                 Magnitude vector
   phase               Phase angle vector (deg)
   w            (1,:)  Frequencies computed
   io                  Input/output vector per plot [input,output;...]

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

Children:

Common: Control/GND
Common: Control/GSS
Common: Control/SS2ND
Common: Control/ZFresp
Common: Graphics/Plot2D
Common: Graphics/TextS