Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies to each column i.e. each column containing multiples of the first element of each column.
EX: >>matrixMultiples(3)
1 2 3 2 4 6 3 6 9
>>
This is the same problem as Create times-tables in
http://www.mathworks.com/matlabcentral/cody/problems/33-create-times-tables
Back to basics 22 - Rotate a matrix
682 Solvers
198 Solvers
204 Solvers
Sum of odd numbers in a matrix
231 Solvers
193 Solvers