home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
utils
/
mathstud
/
lu.m
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-05-19
|
243 b
|
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);