totaldelay (Control Design and Simulation Module, MathScript Function)
Member of the dynchar class.
Syntax
totdel = totaldelay(SysIn)
Description
Returns the total delay present in a system model. The total delay includes all input, output, and transport delays.
Inputs
Name | Description |
SysIn | Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. |
Outputs
Name | Description |
totdel | Returns the total delay present in the model. For continuous models, the delay is in seconds. For discrete models, the delay is an integer multiple of the sampling time. totdel is a real matrix. |
Examples
Sys = ss(-1, 1, 2, 0, 0.1)SysIn = set(Sys, 'inputdelay', 4, 'outputdelay', 2)
totdel = totaldelay(SysIn)