Function File: nvec = size (sys)
Function File: n = size (sys, dim)
Function File: [p, m] = size (sys)

LTI model size, i.e. number of outputs and inputs.

Inputs

sys

LTI system.

dim

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

Outputs

nvec

Row vector. The first element is the number of outputs (rows) and the second element the number of inputs (columns).

n

Scalar value. The size of the dimension dim.

p

Number of outputs.

m

Number of inputs.

Package: control