Download System Identification Toolbox User`s Guide

Transcript
canform
k = 1 indicates that the K-matrix in the model (the Kalman Gain) will be fully
parameterized, while k = 0 means that this matrix will be fixed to zero. This
will give a so-called output error model.
d = 1 indicates that D-matrix in the model (the direct term from input to
output) will be fully parametrized, while d = 0 means that this matrix will be
fixed to zero. This also implies that there will be a delay of (at least) one sample
between the input and the output.
x = 1 indicates that the initial state x(0) will be parameterized, while x = 0
means that the initial state will be fixed to zero.
Default is
dkx = [0, 1, 0]
An alternative to canform is the function canstart. It also provides good initial
estimates for the free parameters.
Examples
Write out the state-space matrices for a sixth order system with three outputs
and two inputs with NaN denoting free parameters:
ps = [2 1 3];
ms = canform(ps,2);
th = ms2th(ms,'c',ones(1,18+12+18)∗NaN);
[A,B,C,D,K] = th2ss(th)
See Also
canstart, fixpar, modstruc, ms2th, unfixpar
References
Ljung (1987), Appendix 4.A.
4-25