| Control System Toolbox™ | ![]() |
sys = delay2z(sys)
sys = delay2z(sys) maps all time delays to poles at z=0 for discrete-time TF, ZPK, or SS models sys. Specifically, a delay of k sampling periods is replaced by (1/z)^k in the transfer function corresponding to the model.
For FRD models, delay2z absorbs all time delays into the frequency response data, and is applicable to both continuous- and discrete-time FRDs.
z=tf('z',-1);
sys=(-.4*z -.1)/(z^2 + 1.05*z + .08)
Transfer function:
-0.4 z - 0.1
-------------------
z^2 + 1.05 z + 0.08
Sampling time: unspecified
sys.InputDelay = 1;
sys = delay2z(sys)
Transfer function:
-0.4 z - 0.1
-----------------------
z^3 + 1.05 z^2 + 0.08 z
Sampling time: unspecified
![]() | dcgain | delayss | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |