Problem 42450. Summation of array
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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers353
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15528 Solvers
-
17101 Solvers
-
3367 Solvers
-
The Hitchhiker's Guide to MATLAB
3296 Solvers
-
Test Problem; Create a 5x5 array containing all ones
384 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!