bode
Function File: bode (sys)
Function File: bode (sys1, sys2, …, sysN)
Function File: bode (sys1, sys2, …, sysN, w)
Function File: bode (sys1, ’style1’, …, sysN, ’styleN’)
Function File: [mag, pha, w] = bode (sys)
Function File: [mag, pha, w] = bode (sys, w)
Bode diagram of frequency response. If no output arguments are given, the response is printed on the screen. In the latter case, the chidlren of the figure handle are the handles for (1) the phase plot, (2) the legend, and (3) the magnitude plot. The magnitude plot is the active handle after the bode plot is finished.
Inputs
{wmin, wmax} specifies a frequency range,
where wmin and wmax denote minimum and maximum frequencies
in rad/s.help plot for details.Outputs
See also: nichols, nyquist, sigma
Source Code: bode
G_1 = tf ([10 1],[1 0.1 1 0]); G_2 = tf ([1 0.1 1],[100 1 1]); bode(G_1,G_2);