求解,上图的矩阵如何用matlab表示,以及对其进行Lu分解该如何操作
n=input('input:'); A=zeros(n,n); for i=1:n for j=1:i A(i,j)=n-abs(i-j); end end [L,U]=lu(A);