distdelay (Control Design and Simulation Module, MathScript Function)
Member of the cdutil class.
Syntax
SysDel = distdelay(SysIn)
[inputdist, outputdist, transdist] = distdelay(inputdelay, outputdelay, transdelay)
Description
Distributes the total delay of a system into input, output, and transport delays such that the transport delays are minimal. This function allocates the majority of the delays as input or output delays. The remaining delays become transport delays.
Inputs
Name | Description |
SysIn | Specifies a linear time-invariant (LTI) system model in transfer function, zero-pole-gain, or state-space form. |
inputdelay | Specifies the input delay of a model. For continuous models, this value is seconds. For discrete models, this value is in number of samples.inputdelay is a real vector. |
outputdelay | Specifies the output delay of a model. For continuous models, this value is seconds. For discrete models, this value is in number of samples. outputdelay is a real vector. |
transdelay | Specifies the transport delay of a model. For continuous models, this value is seconds. For discrete models, this value is in number of samples.transdelay is a real matrix. |
Outputs
Name | Description |
SysDel | Returns the SysIn model with the total delay distributed to minimize the transport delay. |
inputdist | Returns the inputdelay vector with the total delay distributed to minimize the transport delay. |
outputdist | Returns the outputdelay vector with the total delay distributed to minimize the transport delay. |
transdist | Returns the transdelay matrix with a minimal amount of transport delay. |
Examples
inputdelay = [1 3 4];outputdelay = [2 3 5];
transdelay = [3 2 3; 4 3 1; 4 1 2];
[inputdist, outputdist, transdist] = distdelay(inputdelay, outputdelay, transdelay);