The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5]
Ans= 6
if maximum value exist more than 1 time the function returns the index of first instance.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers399
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
9137 Solvers
-
502 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2540 Solvers
-
Set the array elements whose value is 13 to 0
1439 Solvers
-
477 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!