controllability.m
SYNTAX: [CC,nn,perp] = controllability(a,b,c,d,figure_num)
PURPOSE: Calculate controllability matrix of a system.
INPUT:
a,b,c,d = system matrices
figure_num = figure number on which to plot singular values of CC
(optional, plot is produced only if this number is given)
OUTPUT:
CC = controllability matrix
nn = nullspace of CC' (Anything in nn cannot be reached by the system
[a,b,c,d] - See Kailath, Example 2.5-1.)
perp = perp of nullspace of CC = "reachable subspace"
Dependencies