home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
WINDOWS
/
DIVERSEN
/
MATHS171
/
LU.M
< prev
next >
Wrap
Text File
|
1993-03-23
|
243b
|
11 lines
function [L,U,P]=lu(x)
%[L,U,P]=lu(x)
%lu interface to the built-in _lu - NOT SUPPORTED
%This decomposition is not used as often as the more powerful SVD
error('not supported yet');
[A,P]= _lu(x);
U=triu(A);
L=tril(A,-1)+eye(A);