simsd
Simulate linear models with uncertainty using Monte Carlo method
Syntax
Description
simsd
simulates linear models using the Monte Carlo method. The command performs multiple simulations using different values of the uncertain parameters of the model, and different realizations of additive noise and simulation initial conditions.simsd
uses Monte Carlo techniques to generate response uncertainty, whereassim
generates the uncertainty using the Gauss Approximation Formula.
simsd(
simulates and plots the response of 10 perturbed realizations of the identified modelsys
,udata
)sys
. Simulation input dataudata
is used to compute the simulated response.
The parameters of the perturbed realizations ofsys
are consistent with the parameter covariance of the original model,sys
. Ifsys
does not contain parameter covariance information, the 10 simulated responses are identical. For information about how the parameter covariance information is used to generate the perturbed models, seeGenerating Perturbations of Identified Model.
simsd(
simulates the system response using the simulation behavior specified in the option setsys
,udata
,N
,opt
)opt
. Useopt
to specify uncertainties in the initial conditions and include the effect of additive disturbances.
The simulated responses are all identical ifsys
does not contain parameter covariance information, and you do not specify additive noise or covariance values for initial states. You specify these values in theAddNoise
andX0Covariance
options ofopt
.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced before R2006a