Resample discrete-time model
sys1
= d2d(sys
, Ts
)
sys1
= d2d(sys
, Ts
,
'method
')
sys1
= d2d(sys
, Ts
, opts
)
resamples
the discrete-time dynamic system model sys1
= d2d(sys
, Ts
)sys
to produce
an equivalent discrete-time model sys1
with the
new sample time Ts
(in seconds), using zero-order
hold on the inputs.
uses the specified
resampling method sys1
= d2d(sys
, Ts
,
'method
')'method'
:
'zoh'
— Zero-order hold on the inputs
'tustin'
— Bilinear (Tustin) approximation
For information about the algorithms for each d2d
conversion
method, see Continuous-Discrete Conversion Methods.
resamples sys1
= d2d(sys
, Ts
, opts
)sys
using
the option set with d2dOptions
.
Use the syntax sys1 = d2d(sys,Ts,'method')
to resample
sys
using the default options for
'method'
. To specify tustin
resampling
with a frequency prewarp, use the syntax sys1 =
d2d(sys,Ts,opts)
. For more information, see d2dOptions
.
When sys
is an identified (IDLTI)
model, sys1
does not include the estimated parameter
covariance of sys
. If you want to translate the
covariance while converting the model, use translatecov
(System Identification Toolbox).
c2d
| d2c
| d2dOptions
| upsample
| translatecov
(System Identification Toolbox)