Resample - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

DynamicSystems

  

Resample

  

resample a discrete-time system object

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

Resample(sys, T, opts)

Parameters

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

Options

• 

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.

Description

• 

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

   x

   D

 

 

 x

 x

Transfer-Function

   x

   x

   D

   x

 

 x

 x

Coefficients

   x

   x

   D

   x

 

 x

 x

Zero-Pole-Gain

 

 

 

 

   D

 

 

• 

For details on the transformation methods, see the sections Frequency Domain Transformations and Time Domain Transformations in DynamicSystems[ToContinuous] and DynamicSystems[ToDiscrete].

Examples

Resample a discrete-time transfer function with new sampling time 0.001 s

(1)

New sampling time T

(2)

The default method is bilinear when no method is specified.

(3)

Resampling with the original sampling time, we obtain the original discrete-time system.

(4)

(5)

(6)

(7)

(8)

(9)

Compare the frequency responses of all the systems.

Compatibility

• 

The DynamicSystems[Resample] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

DynamicSystems

DynamicSystems[SystemOptions]

DynamicSystems[ToContinuous]

DynamicSystems[ToDiscrete]

 


Download Help Document