MATLAB: If i have two matrices A and B. the matrix A combination is 1×15 while matrix two combination is 1×450 and i wanna divide A by B but the dimensions are not equal.so how can i solve this probelm y2 kafa=(A-B).^2 Best Answer One way:B=reshape(B,30,15);A./B Related SolutionsMATLAB: Can I multiply a Vector with a Matrix In the expression A*B the number of columns of A must equal the number of rows of B. MATLAB: Multiplying a Matrix with every column of another matrix Do you mean you just want to do standard matrix multipication?C = A * BOr did I misunderstand? Related QuestionCombination problemMatrix dimensions must agree.“Matrix Dimensions must agree”Generate a combination
Best Answer