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 Solvers10650
Suggested Problems
-
12028 Solvers
-
695 Solvers
-
632 Solvers
-
Check if number exists in vector
8713 Solvers
-
477 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!