Given an array, Find the sum of all of the elements in it

Examples:

Input x = [1 2 3 5; 4 5 6 7];

Output y is 33

Solution Stats

588 Solutions

371 Solvers

Last Solution submitted on Dec 02, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers371

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!