d2d (Control Design and Simulation Module, MathScript Function)
Member of the convert class.
Syntax
SysOutDis = d2d(SysInDis, Ts)
Description
Resamples a discrete system model. Resampling involves converting a discrete model to another discrete model with a different sampling time.
Inputs
Name | Description |
SysInDis | Specifies a discrete model in transfer function, zero-pole-gain, or state-space form. |
Ts | Specifies the sampling time this function uses to resample the discrete model SysInDis. The default value is 1. Ts is a real scalar. |
Outputs
Name | Description |
SysOutDis | Returns the discrete model SysInDis with new sampling time Ts. |
Examples
A = [0.5, 0.25; 0, 0.1]B = [1, 0]';
C = [-1, 0]
SysInDis = ss(A, B, C, 0, 0.1)
SysOutDis = d2d(SysInDis, 0.2)