Categories &

Functions List

Function Reference: @iddata/cat

Function File: dat = cat (dim, dat1, dat2, …)

Concatenate iddata sets along dimension dim.

Inputs

dim

Dimension along which the concatenation takes place.

1

Concatenate samples. The samples are concatenated in the following way: dat.y{e} = [dat1.y{e}; dat2.y{e}; …] dat.u{e} = [dat1.u{e}; dat2.u{e}; …] where e denotes the experiment. The number of experiments, outputs and inputs must be equal for all datasets. Equivalent to vertcat.

2

Concatenate inputs and outputs. The outputs and inputs are concatenated in the following way: dat.y{e} = [dat1.y{e}, dat2.y{e}, …] dat.u{e} = [dat1.u{e}, dat2.u{e}, …] where e denotes the experiment. The number of experiments and samples must be equal for all datasets. Equivalent to horzcat.

3

Concatenate experiments. The experiments are concatenated in the following way: dat.y = [dat1.y; dat2.y; …] dat.u = [dat1.u; dat2.u; …] The number of outputs and inputs must be equal for all datasets. Equivalent to merge.

dat1, dat2, …

iddata sets to be concatenated.

Outputs

dat

Concatenated iddata set.

See also: horzcat, merge, vertcat

Source Code: @iddata/cat