Function Reference | ![]() ![]() |
Compute the Bode magnitude response of LTI models
Syntax
bodemag(sys) bodemag(sys,{wmin,wmax}) bodemag(sys,w) bodemag(sys1,sys2,...,sysN,w) bodemag(sys1,'PlotStyle1',...,sysN,'PlotStyleN')
Description
bodemag(sys)
plots the magnitude of the frequency response of the LTI 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 radians/second).
bodemag(sys,w)
uses the user-supplied vector W of frequencies, in
radians/second, at which the frequency response is to be evaluated.
bodemag(sys1,sys2,...,sysN,w)
shows the frequency response magnitude of several LTI 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
See Also
bode
Compute the Bode frequency response of LTI models
ltiview
Open an LTI Viewer
ltimodels
Help on LTI models
![]() | bode | c2d | ![]() |