Problem 1702. Maximum value in a matrix
Solution Stats
Problem Comments
-
16 Comments
I think it's best not to have a working solution already entered by default, but maybe that's just me.
@author: please remove the solution for this very easy "problem"
good
I agree with Ed, the solution is already given in the problem, which defeats the purpose of it.
The solution has been removed from the default function.
good
I like it
pretty good
good problem
great problem!
nice problem!
great problem
good problem!
oh ight
cool
difficult problem to start!
Solution Comments
-
1 Comment
An easy one.
-
1 Comment
was confused on finding the max of a matrix versus an array
-
1 Comment
arguments of max() for vectors and matrices are different.
-
2 Comments
If you change the function name, MATLAB will return incorrect.
GOOD
-
2 Comments
I like this task
WHAT DO YOU LIKE ABOUT IT
-
1 Comment
max(X) gives the largest elements for each row. To traverse the whole matrix, convert it to a column,X(:), then take its max, max(X(:))
-
1 Comment
It's always disappointing to look at the best solution in cody, please rectify these errors.
-
1 Comment
minecraft
Problem Recent Solvers10347
Suggested Problems
-
3941 Solvers
-
Who knows the last digit of pi?
622 Solvers
-
665 Solvers
-
508 Solvers
-
Find the max element of the array
767 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!