Is it not permitted by using tabulate function to solve it?
Good job with the solution. You must have given it a lot of thinking !!!
A..h... cheater !!!
find the maximum element of the matrix
354 Solvers
convert matrix to single column
314 Solvers
Create an index-powered vector
370 Solvers
385 Solvers
675 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!