User`s guide

Representing Time- and Frequency-Domain Data Using iddata Objects
Concatenating i
ddata Objects
“iddata Prope rt
ies Storing Input and Output D ata” on page 1-65
“Horizontal Con
catenation” on page 1-65
“Vertical Conca
tenation” on page 1-66
iddata Properties Storing Input and Output Data
The InputData id
data
property store s column-wise input data, and the
OutputData prop
erty stores column-wise output data. For more information
about accessin
g
iddata properties, see “iddata Properties” on page 1-50.
Horizontal Concatenation
Horizontal con
catenation of
iddata objects creates a new id data object
that appends al
l
InputData informat ion and all OutputData.Thistypeof
concatenation
produces a single object with more inputs and more outputs.
For example, t
he following syntax pe r forms horizontal concatenation on the
iddata object
s
data1,data2,...,dataN:
data = [data1,data2,...,dataN]
This syntax is equivalent to the following longer syntax:
data.InputData =
[data1.InputData,data2.InputData,... ,dataN.InputData]
data.OutputData =
[data1.OutputData,data2.OutputData,. ..,dataN.OutputData]
For horizontal concatenation, d ata1,data2,...,dataN must have the same
number of samples and experiments , and the same
Ts and Tstart values.
The channels in the concatenated
iddata object are named according to the
following rules:
Combining defau lt channel names. If you concatenate
iddata objects
with default channel names, such as
u1 and y1, channels in the new iddata
object are automatically renamed to avoid name duplication.
Combining duplicate input channels. If
data1,data2,...,dataN
have input channels with duplicate user-dened names, such that dataK
1-65