Getting Started | ![]() ![]() |
Adding Delays to Linear Models
You can add time delays to linear models by specifying an input or output delay when building a model. For example, to add an input delay to the DC motor, use this code.
sys_tfdelay = tf(1.5, [1 14 40.02],'inputdelay',0.05)
The Control System Toolbox constructs the DC motor transfer function, but adds a 0.05 second delay.
Transfer function: 1.5 exp(-0.05*s) * ------------------ s^2 + 14 s + 40.02
For a complete description of adding time delays to models, see Time Delays online under "Creating and Manipulating Models."
![]() | Discrete Time Systems | LTI Objects | ![]() |