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 Solvers371
Suggested Problems
-
Increment a number, given its digits
679 Solvers
-
Matrix indexing with two vectors of indices
769 Solvers
-
Matlab Basics - Pick out parts of a vector
266 Solvers
-
Create sequnce 1 4 9 16 25.........
413 Solvers
-
2461 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!