Area under the curve - MATLAB Cody - MATLAB Central

Problem 56255. Area under the curve

Difficulty:Rate
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]
area=32.5000

Solution Stats

66.67% Correct | 33.33% Incorrect
Last Solution submitted on Feb 20, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers23

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