分析频率响应特性适用。
bode
Bode diagram of frequency response
Syntax
bode
bode(sys)
bode(sys,w)
bode(sys1,sys2,...,sysN)
bode(sys1,sys2,...,sysN,w)
bode(sys1,'PlotStyle1',...,sysN,'PlotStyleN')
Description
bode computes the magnitude and phase of the frequency response of LTI models. When you
invoke this function without left-side arguments, bode produces a Bode plot on the screen. The
magnitude is plotted in decibels (dB), and the phase in degrees. The decibel calculation for mag is
computed as 20log10 (|H(jω)|), where |H(jω)| is the system's frequency response. You can use
bode plots to analyze system properties such as the gain margin, phase margin, DC gain,
bandwidth, disturbance rejection, and stability.
bode(sys) plots the Bode response of an arbitrary LTI model sys. This model can be