I have to solve following linear equation in Matlab
AX=B for X, where A - symetric positive definite upper triangular matrix (nxn), and B is matrix (mxn).
So far I have got code for solving such eqation where B is a vector. I have to change the code, to be able to calculate it for B as a (mxn) matrix
x(n)=b(n)/A(n,n);
for i=n-1: -1:1,
s=b(i);
for j=i+1:n,
s=s-A(i,j)*x(j);
end
x(i)=s/A(i,i);
end