summaryrefslogtreecommitdiff
path: root/75/CH8/EX8.6/ex_6.sce
blob: 0ac7030d2858cb70b94500e4d6d296d8f6b5b6ff (plain)
1
2
3
4
5
6
7
8
9
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