System Identification Toolbox    
pe

Compute the prediction errors associated with a model and a data set.

Syntax

Description

data is the output-input data set, given as an iddata object, and m is any idmodel object.

e is returned as an iddata object, so that e.OutputData contains the prediction errors that result when model m is applied to the data:

The argument init determines how to deal with the initial conditions:

If init is not specified, the model property m.InitialState is used, so that 'Estimate', 'Backcast' and 'Auto' set init = 'Estimate', while m.InitialState = 'Zero' sets init = 'zero', and 'Fixed' and 'Model' set init = 'model'.

The output argument x0 is the used value of the initial state. If data contains several experiments, x0 will be a matrix, containing the initial states from each experiment.

See Also

idmodel, resid


  oe pem