summaryrefslogtreecommitdiff
path: root/70/CH2/EX2.3.5/2_3_5.sci
diff options
context:
space:
mode:
Diffstat (limited to '70/CH2/EX2.3.5/2_3_5.sci')
-rwxr-xr-x70/CH2/EX2.3.5/2_3_5.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/70/CH2/EX2.3.5/2_3_5.sci b/70/CH2/EX2.3.5/2_3_5.sci
new file mode 100755
index 000000000..420270172
--- /dev/null
+++ b/70/CH2/EX2.3.5/2_3_5.sci
@@ -0,0 +1,10 @@
+//page 93
+clear;
+close;
+clc;
+disp('Three columns in R2 cannot be independent.')
+A=[1 2 1;1 2 3];
+disp(A,'Given matrix:')
+[L,U]=lu(A);
+disp(U,'U=');
+disp('If c3 is 1 ,then back-substitution Uc=0 gives c2=-1,c1=1,With these three weights,the first column minus the second plus the third equals zero ,therefore linearly dependent.') \ No newline at end of file