Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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. For example:

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

Introduced in R2012a

Was this topic helpful?