diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /773/CH17/EX17.20 | |
download | Scilab-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-x | 773/CH17/EX17.20/17_20.sci | 12 |
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;
+
|