| System Identification | ![]() |
Simulate models with uncertainty.
Syntax
simsd(m,u) simsd(m,u,N,noise,Ky)
Description
u is an iddata object containing the inputs. m is a model given as any idmodel object. N random models are created, according to the covariance information given in m. The responses of each of these models to the input u are computed and graphed in the same diagram. If noise = 'noise', noise is added to the simulation, in accordance with the noise model of m, and its own uncertainty. Ky denotes the output numbers to be plotted (default all)
N = 10 noise = 'nonoise'
Examples
Plot the step response of the model m and evaluate how it varies in view of the model's uncertainty.
step1 = [zeros(5,1); ones(20,1)]; simsd(m,step1)
See Also
| sim | size | ![]() |