Summation of array - MATLAB Cody - MATLAB Central

Problem 42450. Summation of array

Difficulty:Rate

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

65.03% Correct | 34.97% Incorrect
Last Solution submitted on Apr 25, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers358

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page