I would like to find an efficient fast way for calculating:
for i = 1:nX(:,:,i) = A(:,:,i)\B(:,:,i)end
where A and B are 10*10*n, and 10*1*n size matrices respectively. the matrices are large and must be called meny times. therefore I was thinking of replacing "for loops" with a faster way that does it very fast and not iteratively.
Best Answer