Find the maximum value of a given vector or matrix.
Solution Stats
Problem Comments
8 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers12339
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3072 Solvers
-
Getting the indices from a vector
12426 Solvers
-
Remove the two elements next to NaN value
713 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
896 Solvers
-
Change the sign of even index entries of the reversed vector
662 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