Description

Bode plot, i.e magnitude and phase of the frequency
response of the linear dynamical system sl.

sl can be a continuous-time or
discrete-time SIMO system given by its state space,
rational transfer function (see syslin) or zpk representation. In case of
multi-output the outputs are plotted with different
colors.

The frequencies are given by the bounds fmin,fmax
(in Hz) or by a row-vector (or a matrix for multi-output)
frq.

step is the ( logarithmic ) discretization step.
(see calfrq for the choice of default value).

db,phi are the matrices of modulus (in Db) and
phases (in degrees). (One row for each response).

repf matrix of complex numbers. One row for each
response.

Default values for fmin and
fmax are 1.d-3,
1.d+3 if sl is continuous-time or
1.d-3, 0.5/sl.dt (nyquist frequency)
if sl is discrete-time. Automatic discretization of
frequencies is made by calfrq.

The
datatips
tool may be used
to display data along the phase and modulus curves.