System Identification Toolbox | ![]() ![]() |
Convert a model from discrete to continuous time.
Syntax
Description
The discrete-time model md
, given as any idmodel
object, is converted to a continuous-time counterpart mc
. The covariance matrix of the parameters in the model is also translated using Gauss' approximation formula and numerical derivatives of the transformation. The step-sizes in the numerical derivatives are determined by the function nuderst
. To inhibit the translation of the covariance matrix and save time, enter among the input arguments (...,
'CovarianceMatrix,
'None
',....
) (any abbreviations will do).
If the discrete-time model contains pure time delays, i.e., , then these are first removed before the transformation is made. These delays are appended as pure time-delay (deadtime) to the continuous-time model as the property
InputDelay
. To have the time delay approximated by a finite-dimensional continuous system, enter among the input arguments (...,'InputDelay',0,...)
.
If the noise variance is in
md
, and its sampling interval is T, then the continuous-time model has an indicated level of noise spectral density equal to T .
While idpoly
and idss
models are returned in the same format, idarx
models are returned as idss
models mc
. The reason is that the transformation does not preserve the special structure of idarx
. idgrey
structures will be preserved if their CDMfile
property is equal to cd
. Otherwise they will be transformed to idss
objects.
Examples
Transform an identified model to continuous time and compare the frequency responses of the two models.
Note that the transformation to continuous time can be included in the n4sid
command by specifying the model to be continuos time.
See Also
References
See Discrete and Continuous Time Models and Spectrum Normalization and the Sampling Interval" in the "Tutorial".
![]() | detrend | EstimationInfo | ![]() |