PredictorMap class
Specification of a mapping for a predictor model.
Construction
obj = PredictorMap(nY,nU)constructs a mapping of dimensions by .
Properties
Variable
character array string Variable of transfer functions in predictor mapping. See documentation on the equivalent property in the transfer function object
tf. 'z^-1' by default.Ts
scalar Sample time of transfer functions in predictor mapping. See documentation on the equivalent property in the transfer function object
tf. -1 by defaultisSymmetric
scalar Indicates if mapping is symmetric, in which case all other (array) properties must be symmetric.
s
array Indicates interconnections. Elements can be either:
- 0: No interconnection from element
ito elementj - 1: Interconnection from element
ito elementj
- 0: No interconnection from element
p
array Indicates which elements are free/parametrized during estimation. Elements can be either:
- NaN: No interconnection from element
ito elementj. - 0: Fixed dynamics from element
ito elementj. - 1: Parametrized dynamics from element
ito elementj.
- NaN: No interconnection from element
f
array Indicates which elements are fixed during estimation. Elements can be either:
- NaN: No interconnection from element
ito elementj. - 0: Parametrized dynamics from element
ito elementj. - 1: Fixed dynamics from element
ito elementj.
- NaN: No interconnection from element
d
integer array Number of delays of elements.
monic
array Indicates if the numerator of elements are monic (i.e. the first non-zero coefficient is equal to 1). Elements should be set to 1 if monic, and to 0 if not.
e
MIMO tf object Transfer functions of elements. This property is updated when
npnumornpdenare modified, but can also be modified directly. Whennpnumis updated, leading zeros are added to the numerator of the transfer function equal to the number of delays, and the first nonzero element is set to 1 for monic elements.pnum
cell array of double arrays Parameter values of numerators of elements. Set this to specify the values of fixed elements and initial values of parametrized elements. The transfer functions in the
eproperty are updated, taking into account thedandmonicproperties.pden
cell array of double arrays Parameter values of denominators of elements. Set this to specify the values of fixed elements and initial values of parametrized elements. The transfer functions in the
eproperty are updated.npnum
integer array Number of numerator parameters of elements. Increasing elements of this array pads the corresponding elements of
pnumwith zeros to the desired array length, whereas decreasing these elements truncates the corresponding elements ofpnum.npden
integer array Number of denominator parameters of elements. Increasing elements of this array pads the corresponding elements of
pdenwith zeros to the desired array length, whereas decreasing these elements truncates the corresponding elements ofpden.