Problem 750. Accumulate Cells

Given a combining function, a cell array, and an initial value, accumulate the result.

For example,


should return 10, while


should return 24.

The elements of C should be such that the combining function can apply to them without generating an error (all the same size, for example).

Solution Stats

52.33% Correct | 47.67% Incorrect
Last Solution submitted on May 31, 2020

Problem Comments

Problem Recent Solvers45

Suggested Problems

More from this Author11

Problem Tags