d2d
Resample discrete-time model
Syntax
sys1 = d2d(sys, Ts)
sys1 = d2d(sys, Ts,
'method')
sys1 = d2d(sys, Ts, opts)
Description
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.
Examples
Tips
Use the syntax
sys1 = d2d(sys,Ts,'method')to resamplesysusing the default options for'method'. To specifytustinresampling with a frequency prewarp, use the syntaxsys1 = d2d(sys,Ts,opts). For more information, seed2dOptions.When
sysis an identified (IDLTI) model,sys1does not include the estimated parameter covariance ofsys. If you want to translate the covariance while converting the model, usetranslatecov(System Identification Toolbox).
Version History
Introduced before R2006a
See Also
d2dOptions | c2d | d2c | upsample | translatecov (System Identification Toolbox)