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 Solvers357
Suggested Problems
-
Create matrix of replicated elements
383 Solvers
-
Convert a Cell Array into an Array
1936 Solvers
-
671 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
249 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
241 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!