Function File: nvec = size (dat)
Function File: ndim = size (dat, dim)
Function File: [n, p, m, e] = size (dat)

Return dimensions of iddata set dat.

Inputs

dat

iddata set.

dim

If given a second argument, size will return the size of the corresponding dimension.

Outputs

nvec

Row vector. The first element is the total number of samples (rows of dat.y and dat.u). The second element is the number of outputs (columns of dat.y) and the third element the number of inputs (columns of dat.u). The fourth element is the number of experiments.

ndim

Scalar value. The size of the dimension dim.

n

Row vector containing the number of samples of each experiment.

p

Number of outputs.

m

Number of inputs.

e

Number of experiments.

Package: control