summaryrefslogtreecommitdiff
path: root/104/CH5/EX5.21/5_21.sce
blob: f109bb2b850070f059648a8acdac3eadee2056a0 (plain)
1
2
3
4
5
6
7
8
9
10
//observability
A=[-2 0;0 -1]
B=[3;1]
C=[1 0]
V=[C;C*A]
if det(V)==0 then
    printf("system is unobservable")
else 
    printf("system is observable")
    end