File mttroot/mtt/lib/examples/Simulation/BigHeatedRod/time_svdlu.m artifact d2d86013f2 part of check-in 3411e048f5
function [N,Ts,Tl]=time_svdlu; N=[100:100:700]; Ts=[]; Tl=[]; for n=N n M=rand(n,n); ts=time; svd(M); ts=time-ts tl=time; lu(M); tl=time-tl Ts=[Ts,ts]; Tl=[Tl,tl]; endfor; endfunction;