Problem 1107. Find max
Find the maximum value of a given vector or matrix.
Solution Stats
Problem Comments
-
7 Comments
Show
4 older comments
Jean-Marie Sainthillier
on 8 Dec 2012
What is the interest ?
Raymond MacNeil
on 4 Jan 2020
15.99% per annum.
Isabella Stellitano
on 13 Nov 2021
Good problem
Deniz Can
on 28 Mar 2022
nice question with many ways to solve
Angelo Testa
on 7 Dec 2023
good problem
鑫如
on 25 Mar 2024
function y=your_fcn_name(x)
y=max(x(:));
end
友璟
on 25 Mar 2024
funtion Y=your-fcn-name(x)
y=max(max(x));;
end
Solution Comments
Show commentsProblem Recent Solvers9732
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2728 Solvers
-
573 Solvers
-
Project Euler: Problem 3, Largest prime factor
1430 Solvers
-
Make a random, non-repeating vector.
9272 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
812 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!