summaryrefslogtreecommitdiff
path: root/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.3.2
diff options
context:
space:
mode:
Diffstat (limited to 'Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.3.2')
-rw-r--r--Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.3.2/Ex2.3_2.r9
1 files changed, 9 insertions, 0 deletions
diff --git a/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.3.2/Ex2.3_2.r b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.3.2/Ex2.3_2.r
new file mode 100644
index 00000000..21725a98
--- /dev/null
+++ b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.3.2/Ex2.3_2.r
@@ -0,0 +1,9 @@
+#Example : 2 Chapter : 2.3 pageno : 58
+#Purpose of Elimination matrices
+I<-matrix(c(1,0,0,0,1,0,0,0,1),ncol=3)
+E31<-matrix(c(1,0,-4,0,1,0,0,0,1),ncol=3)
+b<-matrix(c(1,3,9),ncol=1)
+Ib<-I%*%b
+print(Ib)
+Eb<-E31%*%b
+print(Eb)