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 comments
Loading...
Problem Recent Solvers372
Suggested Problems
-
Switch matrix to a column vector
373 Solvers
-
Matlab Basics - Convert a row vector to a column vector
677 Solvers
-
Matlab Basics - Pick out parts of a vector
268 Solvers
-
Matlab Basics - y as a function of x
527 Solvers
-
Matlab Basics II - Max & Index of Max
263 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!