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 Solvers368
Suggested Problems
-
Convert a vector into a number
609 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
866 Solvers
-
Side of an equilateral triangle
6712 Solvers
-
381 Solvers
-
573 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!