summaryrefslogtreecommitdiff
path: root/773/CH17/EX17.20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /773/CH17/EX17.20
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '773/CH17/EX17.20')
-rwxr-xr-x773/CH17/EX17.20/17_20.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/773/CH17/EX17.20/17_20.sci b/773/CH17/EX17.20/17_20.sci
new file mode 100755
index 000000000..c3f146938
--- /dev/null
+++ b/773/CH17/EX17.20/17_20.sci
@@ -0,0 +1,12 @@
+//function//
+A=[0 1;-2 0]
+B=[0;3]
+Cc=cont_mat(A,B);
+disp(Cc,"Controlability Matrix=")
+//To Check Whether the matrix(Cc) is singular i.e determint of Cc=0
+if determ(Cc)==0;
+printf("Since the matrix is Singular, the system is not controllable \n");
+else;
+ printf("The system is controllable \n")
+ end;
+