summaryrefslogtreecommitdiff
path: root/104/CH5/EX5.19/5_19.sce
blob: 2c18ebb8b431c162519d73f2e80f436aec9e13e6 (plain)
1
2
3
4
5
6
7
8
9
//controllability
A=[-2 1;0 -1]
B=[1;0]
S=[B A*B]
if det(S)==0 then
    printf("system is uncontrollable")
else 
    printf("system is contollable")
    end