diff options
Diffstat (limited to '104/CH5/EX5.19/5_19.sce')
-rwxr-xr-x | 104/CH5/EX5.19/5_19.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/104/CH5/EX5.19/5_19.sce b/104/CH5/EX5.19/5_19.sce new file mode 100755 index 000000000..2c18ebb8b --- /dev/null +++ b/104/CH5/EX5.19/5_19.sce @@ -0,0 +1,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
\ No newline at end of file |