summaryrefslogtreecommitdiff
path: root/3293/CH3/EX3.16/Ex3_16.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3293/CH3/EX3.16/Ex3_16.sce
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 '3293/CH3/EX3.16/Ex3_16.sce')
-rwxr-xr-x3293/CH3/EX3.16/Ex3_16.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3293/CH3/EX3.16/Ex3_16.sce b/3293/CH3/EX3.16/Ex3_16.sce
new file mode 100755
index 000000000..9f7137d4b
--- /dev/null
+++ b/3293/CH3/EX3.16/Ex3_16.sce
@@ -0,0 +1,21 @@
+//page 92
+//Example 3.16
+clc;
+clear;
+close;
+disp('T is a linear operator on R^2 defined as T(x1,x2) = (x1,0)');
+disp('So, the matrix T in standard ordered basis B = {e1,e2} is ');
+T = [1 0 ;0 0];
+disp(T,'[T]B = ');
+disp('Let B'' is the ordered basis for R^2 consisting of vectors:');
+E1 = [1 1];
+E2 = [2 1];
+disp(E1,'E1 = ');
+disp(E2,'E2 = ');
+P = [E1;E2]'
+disp(P,'So, matrix P = ');
+Pinv = inv(P);
+disp(Pinv,'P inverse = ');
+T1 = Pinv*T*P;
+disp(T1,'So, matrix T in ordered basis B'' is [T]B'' = ');
+//end