Notch:

Path: Common/Control

% Creates a second order transfer function.
   	
   Creates a second order transfer function to produce
   a large + or - gain at frequency wc.

          s^2/wc^2 + 2 zzs/wc + 1
   K(s) = ------------------------
          s^2/wc^2 + 2 zps/wc + 1

   For a bandpass with infinite gain at wc enter inf for Kdb. For a
   notch with zero gain at wc enter NaN. Any argument for fType
   will make the filter nonminimum phase.

   Implement this as
   x[k] = ax[k-1] + bu[k]
   u[k] = cx[k] + du[k]

--------------------------------------------------------------------------
   Form:
   [a, b, c, d] = Notch( Kdb, wc, dw, fType, tSamp, sType )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   Kdb                  Peak gain (db)
   wc                   Notch frequency (rad/sec)
   dw                   Half notch width (rad/sec)
   fType                'nmp' means nonminimum phase notch, 'mp'
                        is minimum phase
   tSamp                Sampling frequency
   sType                State equation type ('Delta' or 'Z')

   -------
   Outputs
   -------
   a                    Plant matrix
   b                    Input matrix
   c                    Measurement matrix
   d                    Feedthrough matrix

--------------------------------------------------------------------------
   References:	Wie, B., K. Byun, "New Generalized Structural Filtering
               Concept for Active Vibration Control Synthesis,"
               J. Guidance and Control, Vol. 12, No. 2, March-April 1989,
               pp. 147-154.
--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: Control/C2DZOH
Common: Control/C2DelZOH
Common: Control/FResp
Common: Control/GND
Common: Control/GSS
Common: Control/ND2SS
Common: Control/S2Damp
Common: Control/SS2ND
Common: Control/SizeABCD
Common: Control/TrnsZero
Common: Control/WPZ
Common: Control/WReson
Common: Control/ZFresp
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/LogLimit
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TextS
Math: Linear/ColCompR
Math: Linear/DelLZ
Math: Linear/IsZero
Math: Linear/RowCompU

Back to the Common Module page