Problem 56255. Area under the curve

Compute area under the curve specified by points stored in y, where y is in range (0,inf) and x time step is 1.
note: please round the result to 4 decimals.
example: y=[1 2 3 5 8 9 10]

Solution Stats

64.71% Correct | 35.29% Incorrect
Last Solution submitted on Jan 12, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers21

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!