MATLAB: Getting error with matrix operation MATLABmatrix operations Hi guys, i know this may be a fool question but anyway, i'm getting an error when i try to divide 2 matrix. A= [1.5; -1] B=[1 2; 3 4] C=A./B It says: Error using ./ Could anyone help me? Best Answer A\B Related SolutionsMATLAB: How to compare each element of a matrix with a number for i1 = 1:40 s(i1) = (sum(A(i1,:).*B(:).')>=1); (<-- Corrected)end MATLAB: How to do 1 to 1 matrix multiplication C=A.*B %what‘s wrong with this then? Related QuestionMatlab, operator A/BMatrix Multiply Problem and how to write at MatlabMatrix dimension Error while attempting to divideMatrix division does not work because of matrix dimensionsError: Inner matrix dimensions must agree.
Best Answer