Find Sum of array - MATLAB Cody - MATLAB Central

Problem 47280. Find Sum of array

Difficulty:Rate
Calculate Sum of all elements of an array.
A = [1 3 4 6]
calculate_sum(A) = 14

Solution Stats

94.38% Correct | 5.62% Incorrect
Last Solution submitted on Apr 30, 2025

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers80

Suggested Problems

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!