summaryrefslogtreecommitdiff
path: root/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.4.1
diff options
context:
space:
mode:
Diffstat (limited to 'Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.4.1')
-rw-r--r--Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.4.1/Ex2.4_1.R6
1 files changed, 6 insertions, 0 deletions
diff --git a/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.4.1/Ex2.4_1.R b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.4.1/Ex2.4_1.R
new file mode 100644
index 00000000..b615e378
--- /dev/null
+++ b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.4.1/Ex2.4_1.R
@@ -0,0 +1,6 @@
+# Example : 1 Chapter : 2.4 Pageno : 68
+#Multiplication of Square matrices
+A<-matrix(c(1,2,1,-1),ncol=2)
+B<-matrix(c(2,3,2,4),ncol=2)
+AB<-A%*%B
+print(AB) \ No newline at end of file