From d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 10:59:42 +0530 Subject: Modified the code --- 1340/CH4/EX4.11/4_11.sce | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 1340/CH4/EX4.11/4_11.sce (limited to '1340/CH4/EX4.11') diff --git a/1340/CH4/EX4.11/4_11.sce b/1340/CH4/EX4.11/4_11.sce deleted file mode 100755 index 3a61d1b3a..000000000 --- a/1340/CH4/EX4.11/4_11.sce +++ /dev/null @@ -1,17 +0,0 @@ -s = %s; -A = [0 1 0;0 0 1;-24 -26 -9]; -B = [0;0;1]; -C = [1 1 0]; -x0 = [1;0;2]; -I = eye(3,3); -syms t ; -U = syslin('c', 1/(s+1)); -disp(U,"U(s)="); -L = inv(s*I-A)*(x0+B*U);disp(L,"x1,x2 and x3 are :"); -Y = C*L; -disp(Y,"Y(s)="); -y = ilaplace(Y,s,t);disp(y,"output y(t)="); -D = det(s*I-A); -printf("Roots are the eigenvalues of the system"); -root = roots(D); -disp(root,"eigenvalues"); -- cgit