summaryrefslogtreecommitdiff
path: root/75/CH8/EX8.6/ex_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '75/CH8/EX8.6/ex_6.sce')
-rwxr-xr-x75/CH8/EX8.6/ex_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/75/CH8/EX8.6/ex_6.sce b/75/CH8/EX8.6/ex_6.sce
new file mode 100755
index 000000000..0ac7030d2
--- /dev/null
+++ b/75/CH8/EX8.6/ex_6.sce
@@ -0,0 +1,10 @@
+ // EXAMPLE (PG 529)
+
+ // Consider the coefficient matrix for spline interpolation
+
+
+A = [2 1 0 0;1 4 1 0;0 1 4 1;0 0 1 2]
+[l,u] = lu(A); // LU Decomposition
+U = l' // Lower Triangular matrix
+L = u' // Upper triangular matrix
+