summaryrefslogtreecommitdiff
path: root/60/CH4/EX4.7/ex_7.sce
blob: c4d2e09fe750066d3792d397ded804a6e3c66a36 (plain)
1
2
3
4
5
6
7
8
//Example (pg no.144)

A = [1 2 3;4 5 6;7 8 9]
[L,U,E] = lu(A)
       // L is lower triangular matrix(mxn)
       // U is upper triangular matrix(mxmin(m,n))
      // E is permutation matrix(min(m,n)xn)
A*E