Problem 47280. Find Sum of array
Calculate Sum of all elements of an array.
A = [1 3 4 6]
calculate_sum(A) = 14
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers85
Suggested Problems
-
Return the 3n+1 sequence for n
8475 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13499 Solvers
-
1884 Solvers
-
11201 Solvers
-
10579 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!