From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 773/CH17/EX17.13/17_13.sci | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 773/CH17/EX17.13/17_13.sci (limited to '773/CH17/EX17.13') 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; + -- cgit