Plot Bode frequency response with additional plot customization options

`h = bodeplot(sys)`

bodeplot(sys)

bodeplot(sys1,sys2,...)

bodeplot(AX,...)

bodeplot(..., plotoptions)

bodeplot(sys,w)

`h = bodeplot(sys)`

plot the Bode magnitude
and phase of the dynamic
system model `sys`

and returns the
plot handle `h`

to the plot. You can use this handle
to customize the plot with the `getoptions`

and `setoptions`

commands.

`bodeplot(sys)`

draws the Bode plot of the
model `sys`

. The frequency range and number of points
are chosen automatically.

`bodeplot(sys1,sys2,...)`

graphs the Bode
response of multiple models `sys1`

,`sys2`

,...
on a single plot. You can specify a color, line style, and marker
for each model, as in

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

`bodeplot(AX,...)`

plots into the axes with
handle `AX`

.

`bodeplot(..., plotoptions)`

plots the Bode
response with the options specified in `plotoptions`

.
Type

help bodeoptions

for a list of available plot options. See Match Phase at Specified Frequency for an example of phase matching
using the `PhaseMatchingFreq`

and `PhaseMatchingValue`

options.

`bodeplot(sys,w)`

draws the Bode plot for
frequencies specified by `w`

. When `w = {wmin,wmax}`

,
the Bode plot is drawn 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`

.). When `w`

is a user-supplied
vector `w`

of frequencies, in rad/TimeUnit, the Bode
response is drawn for the specified frequencies.

See `logspace`

to generate
logarithmically spaced frequency vectors.

`bode`

| `bodeoptions`

| `getoptions`

| `setoptions`

| `showConfidence`

Was this topic helpful?