summaryrefslogtreecommitdiff
path: root/773/CH17/EX17.13
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.13
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.13')
-rwxr-xr-x773/CH17/EX17.13/17_13.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/773/CH17/EX17.13/17_13.sci b/773/CH17/EX17.13/17_13.sci
new file mode 100755
index 000000000..6f02d56d4
--- /dev/null
+++ b/773/CH17/EX17.13/17_13.sci
@@ -0,0 +1,12 @@
+//function//
+A=[3 0;2 4]
+B=[0;1]
+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;
+