Function: [mag, pha, w] = octave_control_bode ( num, den, min, max, n )
- Bode diagram of frequency response.
- A Bode plot is a graph of the transfer function of a linear, time-invariant system versus frequency, plotted with a log-frequency axis, to show the system's frequency response.
function out=octave_control_bode( num, den, min, max, n ) w = logspace( min, max, n ); s = polyval(num, complex(0, w))./polyval(den, complex(0, w)); loglog(w, abs(s)); out = ""; endfunction
See Also ...