Skip to Main Content Skip to Search
Product Documentation

bodemag - Bode magnitude response of LTI models

Syntax

bodemag(sys)
bodemag(sys,{wmin,wmax})
bodemag(sys,w)
bodemag(sys1,sys2,...,sysN,w)

Description

bodemag(sys) plots the magnitude of the frequency response of the dynamic system model sys (Bode plot without the phase diagram). The frequency range and number of points are chosen automatically.

bodemag(sys,{wmin,wmax}) draws the magnitude plot for frequencies between wmin and wmax (in rad/TimeUnit, where TimeUnit is the time units of the input dynamic system, specified in the TimeUnit property of sys).

bodemag(sys,w) uses the user-supplied vector W of frequencies, in rad/TimeUnit, at which the frequency response is to be evaluated.

bodemag(sys1,sys2,...,sysN,w) shows the frequency response magnitude of several models sys1,sys2,...,sysN on a single plot. The frequency vector w is optional. You can also specify a color, line style, and marker for each model, as in

bodemag(sys1,'r',sys2,'y--',sys3,'gx')

See Also

bode | ltiview

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS