System Identification Toolbox    
idarx

Construct idarx model from ARX polynomials.

Syntax

Description

idarx creates an object containing parameters that describe the general multi-input, multi-output model structure of ARX type.

Here and are matrices of dimensions ny-by-ny and ny-by-nu, respectively (ny is the number of outputs, i.e., the dimension of the vector and nu is the number of inputs). See Multivariable ARX Models: The idarx Model in the "Tutorial" chapter.

The arguments A and B are 3-D arrays that contain the A matrices and the B matrices of the model in the following way.

A is an ny-by-ny-by-(na+1) array such that

Similairly B is an ny-by-nu-by-(nb+1) array with

Note that A always starts with the identity matrix, and that delays in the model are defined by setting the corresponding leading entries in B to zero. For a multivariate time series take B = [].

The optional property NoiseVariance sets the covariance matrix of the driving noise source in the model above. The default value is the identity matrix.

The argument Ts is the sampling interval.

The use of idarx is twofold. You can use it to create models that are simulated (using sim) or analyzed (using bode, pzmap, etc.). You can also use it to define initial value models that are further adjusted to data (using arx). The free parameters in the structure are consistent with the structure of A and B, i.e., leading zeros in the rows of B are regarded as fixed delays, and trailing zeros in A and B are regarded as a definition of lower order polynomials. These zeros are fixed, while all other parameters are free.

For a model with one output, ARX models can be descried both as idarx and idpoly models. The internal representation is however different.

idarx Properties

In addition to these properties, idarx objects also have all the properties of the idmodel object. See idmodel, Algorithm Properties, and EstimationInfo.

Note that all properties can be set and retrieved either by set/get or by subscripts. Autofill applies to all properties and values, and these are case insensitive.

For a complete list of property values, use get(m). To see possible value assignments, use set(m). See also idprops idarx.

Examples

Simulate a second order ARX model with one input and two outputs, and then estimate a model using the simulated data.

See Also

arx, arxdata, idmodel, idpoly


  getexp iddata