Model Predictive Control Toolbox | ![]() ![]() |
Plots multiple step responses as calculated by mod2step
, ss2step
or tfd2step
.
Syntax
Description
plant
is a step-response matrix in the MPC step format created by mod2step
, ss2step
or tfd2step
.
opt
is an optional scalar or row vector that allows you to select the outputs to be plotted. If you omit opt
, plotstep
plots every output. If, for example, plant
contains results for 6 outputs, setting opt=[1,4,5]
would cause only y1, y4 and y5 to be plotted.
Example output: (tfd2step
example)
See Also
imp2step
, mod2step
, step format
, plotall
, ploteach
, plotfrsp
, ss2step
, tfd2step
![]() | plotfrsp | plsr | ![]() |