Skip to content

bodehz.m

Basic Information

  SYNTAX:  [mag,phi,wout] = bodehz(a,b,c,d,iu,w)

  PURPOSE:  Bode frequency response for continuous-time linear systems.
    BODE(A,B,C,D,IU) produces a Bode plot from the single input IU to
    all the outputs of the continuous state-space system (A,B,C,D).
    IU is an index into the inputs of the system and specifies which
    input to use for the Bode response.  The frequency range and
    number of points are chosen automatically.

  INPUT:
    a,b,c,d = system matrices
    iu  = input number
    w   = frequencies at which to calculate/plot freq. response (Hz)

  OUTPUT:
    bode plot of system, frequency in Hz (if no outputs specified)
    mag     = magnitude of gain
    phi     = phase lag (degrees)
    wout    = frequencies (Hz) of mag, phi

  RESTRICTIONS:

  METHOD:  Uses matlab bode function (which has CRAPPY defaults)

See Also

dbodehz

References

User Guide

Dependencies