All plot commands have the same basic syntax, as follows:
To plot one model, use the syntax
To plot several models, use the syntax
In this case,
command represents any of the
To display confidence intervals for a specified number of standard deviations, use the following syntax:
h = impulseplot(model); showConfidence(h,sd);
h is the plot handle returned by
You could also use the plot handle returned by
the number of standard deviations of a Gaussian distribution. For
example, a confidence value of 99% for the nominal model curve corresponds
to 2.58 standard deviations.
Alternatively, you can turn on the confidence region view interactively by right-clicking on the plot and selecting Characteristics > Confidence Region. Use the plot property editor to specify the number of standard deviations.
The following table summarizes commands that generate impulse- and step-response plots. For detailed information about each command, see the corresponding reference page.
Does not support nonlinear models.
To plot the impulse response of the model
Plots the step response of all linear and nonlinear models.
To plot the step response of the model
specify the step level offset (
opt = stepDataOptions; opt.InputOffset = u0; opt.StepAmplitude = A; step(sys,opt)