Construct statespace model with internal delays
sys = setDelayModel(H,tau)
sys = setDelayModel(A,B1,B2,C1,C2,D11,D12,D21,D22,tau)
constructs
the statespace model sys
= setDelayModel(H
,tau
)sys
obtained by LFT interconnection
of the statespace model H
with the vector of
internal delays tau
, as shown:
constructs
the statespace model sys
= setDelayModel(A,B1,B2,C1,C2,D11,D12,D21,D22
,tau
)sys
described by the following
equations:
$$\begin{array}{c}\frac{dx\left(t\right)}{dt}=Ax\left(t\right)+{B}_{1}u\left(t\right)+{B}_{2}w\left(t\right)\\ y\left(t\right)={C}_{1}x\left(t\right)+{D}_{11}u\left(t\right)+{D}_{12}w\left(t\right)\\ z\left(t\right)={C}_{2}x\left(t\right)+{D}_{21}u\left(t\right)+{D}_{22}w\left(t\right)\\ w\left(t\right)=z\left(t\tau \right).\end{array}$$
tau
(τ) is the
vector of internal delays in sys
.

Statespace ( 

Vector of internal delays of For continuoustime models, express For discretetime models, express 

Set of statespace matrices that, with the internal delay vector 
setDelayModel
is an advanced operation
and is not the natural way to construct models with internal delays.
See Time Delays in Linear Systems for recommended ways
of creating internal delays.
The syntax sys = setDelayModel(A,B1,B2,C1,C2,D11,D12,D21,D22,tau)
constructs
a continuoustime model. You can construct the discretetime model
described by the statespace equations
$$\begin{array}{c}x\left[k+1\right]=Ax\left[k\right]+{B}_{1}u\left[k\right]+{B}_{2}w\left[k\right]\\ y\left[k\right]={C}_{1}x\left[k\right]+{D}_{11}u\left[k\right]+{D}_{12}w\left[k\right]\\ z\left[k\right]={C}_{2}x\left[k\right]+{D}_{21}u\left[k\right]+{D}_{22}w\left[k\right]\\ w\left[k\right]=z\left[k\tau \right].\end{array}$$
To do so, first construct sys
using sys
= setDelayModel(A,B1,B2,C1,C2,D11,D12,D21,D22,tau)
. Then,
use sys.Ts
to set the sample time.