MagPlot:

Path: Common/Control

% Compute the magnitude frequency response of a system.s
   
   Compute the magnitude 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.
   
--------------------------------------------------------------------------
   Form:
   [mag, io, w] = MagPlot( a, b, c, d, iu, iy, w )
   [mag, io, w] = MagPlot( num, den, w )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   a                   Plant matrix
   b                   Input matrix
   c                   Measurement matrix
   d                   Input feedthrough matrix
   iu                  Inputs  ( = 0, or [] for all)
   iy                  Outputs ( = 0, or [] all)
   w                   Frequency vector

   -------
   Outputs
   -------
   mag                 Magnitude vector
   io                  Input/output vector per plot [input,output;...]
   w                   Frequencies computed

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

Children:

Common: Control/FResp
Common: Graphics/NewFig

Back to the Common Module page