Maximum value in a matrix - MATLAB Cody - MATLAB Central

Problem 1702. Maximum value in a matrix

Difficulty:Rate
Find the maximum value in the given matrix.
For example, if
A = [1 2 3; 4 7 8; 0 9 1];
then the answer is 9.

Solution Stats

42.34% Correct | 57.66% Incorrect
Last Solution submitted on Nov 17, 2025

Problem Comments

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...

Problem Recent Solvers16973

Suggested Problems

More from this Author1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!