MATLAB: Matrix dimensions must agree error for backslash.

errormatrix

Hi all, I have a 1080×1080 matrix A and 1×1080 matrix B. The values in matrix B are all zeroes except for two values. When I use A\B, I get the 'Matrix dimensions must agree.' error. Where am I going wrong?

Best Answer

Try A\B'