DynamicSystems
Resample
resample a discrete-time system object
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
Resample(sys, T, opts)
sys
-
System; system object (discrete)
T
algebraic; new sampling time
opts
(optional) equation(s) of the form option = value; specify options for the Resample command
method = forward, backward, bilinear, prewarp, matched, zoh, or foh
Specifies the resampling method.
frequency = realcons
Specifies the warping or critical frequency in rad/s. This is used only if method = prewarp, otherwise it is ignored.
The Resample command resamples a discrete-time system sys, discretized with sampling time sys:-sampletime, to create an equivalent discrete-time system with new sampling time T.
The method option specifies the resampling method. The following methods are supported: forward rectangle rule (forward), backward rectangle rule (backward), bilinear rule (bilinear), bilinear with prewarping (prewarp), matched poles and zeros (matched), zero-order hold (zoh), and first-order hold or non-causal triangle-hold (foh).
The bilinear rule is also known as the Tustin or Trapezoid rule.
Not all resampling methods can be applied to all system types. The following table describes the usage. An x indicates that the method can be used by the system type. A D indicates that the method is the default for the system type.
System Type
forward
backward
bilinear
prewarp
matched
zoh
foh
State-Space
x
D
Transfer-Function
Coefficients
Zero-Pole-Gain
For details on the transformation methods, see the sections Frequency Domain Transformations and Time Domain Transformations in DynamicSystems[ToContinuous] and DynamicSystems[ToDiscrete].
Resample a discrete-time transfer function with new sampling time 0.001 s
New sampling time T
The default method is bilinear when no method is specified.
Resampling with the original sampling time, we obtain the original discrete-time system.
Compare the frequency responses of all the systems.
The DynamicSystems[Resample] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
DynamicSystems[SystemOptions]
DynamicSystems[ToContinuous]
DynamicSystems[ToDiscrete]
Download Help Document