summaryrefslogtreecommitdiff
path: root/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH8/EX8.6.2
diff options
context:
space:
mode:
Diffstat (limited to 'Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH8/EX8.6.2')
-rw-r--r--Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH8/EX8.6.2/Ex8.6_6.r6
1 files changed, 6 insertions, 0 deletions
diff --git a/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH8/EX8.6.2/Ex8.6_6.r b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH8/EX8.6.2/Ex8.6_6.r
new file mode 100644
index 00000000..91c1dffb
--- /dev/null
+++ b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH8/EX8.6.2/Ex8.6_6.r
@@ -0,0 +1,6 @@
+# Example : 6 Chapter : 8.6 Page No: 457
+# Singualar Value Decomposition
+gradematrixA<-matrix(c(-6,0,4,2,2,4,0,-6,0,-6,2,4,4,2,-6,0),ncol=4)
+print("SVD of Grade matrix is")
+print(svd(gradematrixA))
+#The answers may vary due to rounding off values \ No newline at end of file