setpvec
Modify values of model parameters
Syntax
sys = setpvec(sys0,par)
sys = setpvec(sys0,par,'free')
Description
modifies the value of the parameters of the identified model sys
= setpvec(sys0
,par
)sys0
to the value specified by par
.
par
must be of length nparams(sys0)
.
nparams(sys0)
returns a count of all the parameters of
sys0
.
modifies the value of all the free estimation parameters of sys
= setpvec(sys0
,par
,'free')sys0
to
the value specified by par
.
par
must be of length nparams(sys0,'free')
.
nparams(sys0,'free')
returns a count of all the free parameters
of sys0
. For idnlarx
and idnlhw
models, all parameters are
treated as free.
Input Arguments
|
Identified model, specified as an |
|
Replacement value for the parameters of the identified model
For the syntax For the syntax Use If |
Output Arguments
|
Identified model obtained from |
Examples
Version History
Introduced in R2012a