How to find area under graph?

How do I find only the area of the shaded portion using trapz, integral or any other method?
Also, is it possible to stop trapz/integral at a particular value. Like only find area like below?

1 Comment

Do you have data or equations for the charts above? If so, please post.

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 30 Apr 2018

Commented:

on 12 Jun 2021

Community Treasure Hunt

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

Start Hunting!