Find the maximum value of a given vector or matrix.
Solution Stats
Problem Comments
8 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers11857
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15795 Solvers
-
1247 Solvers
-
Set the array elements whose value is 13 to 0
1444 Solvers
-
Find the next Fibonacci number
912 Solvers
-
10472 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
What is the interest ?
15.99% per annum.
Good problem
nice question with many ways to solve
good problem
function y=your_fcn_name(x)
y=max(x(:));
end
funtion Y=your-fcn-name(x)
y=max(max(x));;
end
good problem