Function File: co = ctrb (sys)
Function File: co = ctrb (a, b)

Return controllability matrix.

Inputs

sys

LTI model.

a

State matrix (n-by-n).

b

Input matrix (n-by-m).

Outputs

co

Controllability matrix.

Equation

             2       n-1
Co = [ B AB A B ... A   B ]

Package: control