An example:
Not controllable if
l
1
=
l
2
or
a
=0;
Not observable if
l
1
=
l
2
or
b
=0.
>>
C
=ctrb(A,B) ;
O
= obsv(A,C);
>>
W
c
(
¥
) = gram(A,B);
% if
A
is stable.
>>
F = -place (A,B,P)
%
P
is a vector of desired
eigenvalues.