Maximum of ND-array - MATLAB Cody - MATLAB Central

Problem 43050. Maximum of ND-array

Difficulty:Rate

Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

Solution Stats

62.9% Correct | 37.1% Incorrect
Last Solution submitted on Nov 10, 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 Solvers72

Suggested Problems

More from this Author2

Problem Tags

Community Treasure Hunt

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

Start Hunting!