Set the sampling interval directly.
Syntax
modn = sett(mod,T)
Description
All functions that create model descriptions in the theta or freqfunc format set the sampling interval T in their last argument. For convenience sett offers an alternative to set it directly. It can be applied both to the case where mod is a model in the theta format and to the case where mod is a frequency function or spectrum in the freqfunc format, with a default choice of frequencies.
th = armax(z,nn);
th = sett(th,T);
is equivalent to
th = armax(z,nn,[],[],[],[],T)
Similarly,
g = spa(z);
g = sett(g,T);
is equivalent to
g = spa(z,[],[],[],T)
Note that you cannot use sett to recalculate models to a new sampling interval. Use thc2thd or thd2thc instead.
See Also
freqfunc, theta
[ Previous | Help Desk | Next ]