MATLAB: Can MATLAB divide two row vectors divisionrow-vectors Hi. I have a simple question. I inputted [3 3 3]/[4 5 6] in MATLAB and got 0.5844 (format short). My question is how can MATLAB divide two row vectors? Best Answer a=[3 3 3]b=[4 5 6]a./b Related SolutionsMATLAB: Converting matrix to column col1 = array(:, 1);col2 = array(:, 2);col3 = array(:, 3);col4 = array(:, 4); MATLAB: Pairwise summation of two vectors a=[1 2 3]b=[4 5 6 7]c=bsxfun(@plus,a.',b) Related QuestionCombining 2 vectorsHow to Automatically Shorten an Array so the number of Rows/Columns is divisible by 3Division by row vectorsDividing vectors to get a matrix, as if it were multiplicationRe-sizing vectors
Best Answer