So, i have been coming up across this function a lot in the last week or so and i haven't been able to create a succinct way of doing this calculation. What i am trying to do is have a function that multiplies the row and column numbers, NOT the elements in those rows and columns, but the row number and column number. So, for matrix coordinates (1,2), the result that should be displayed at that location should be 2 based on their multiplication. Likewise, for (8,3), it should be 24 based on the multiplication of the row and column number. Is there a way that i could do that??
MATLAB: Multiplying the row numbers and column numbers, NOT THE ELEMENTS iN THEM
column-orderMATLABmatrix manipulationmultiplicationrow-order
Best Answer