User`s guide

Table Of Contents
totaldelay
11-234
11totaldelay
Purpose Return the total combined I/O delays for an LTI model
Syntax td = totaldelay(sys)
Description td = totaldelay(sys) returnsthetotal combinedI/O delaysforan LTImodel
sys. The matrixtd combines contributions fromthe InputDelay, OutputDelay,
and
ioDelayMatrix properties, (see set on page 11-193 or type ltiprops for
details on these properties).
Delays are expressed in seconds for continuous-time models, and as integer
multiples of the sample period for discrete-time models. To obtain the delay
times in s econds, multiply
td by the sample time sys.Ts.
Example sys = tf(1,[1 0]); % TF of 1/s
sys.inputd = 2; % 2 sec input delay
sys.outputd = 1.5; % 1.5 sec output delay
td = totaldelay(sys)
td =
3.5000
The resulting I/O map i s
This is equivalent to assigning an I/O delay of 3.5 seconds to the original model
sys.
See Also delay2z Change transfer functions of discrete-time LTI models
with delays torationalfunctionsorabsorbsFRDdelays
into the frequency response phase information
hasdelay True for LTI models with delays
e
2s
1
s
---
e
1.5s
× e
3.5s
1
s
---
=