Calculate area under peak
Show older comments
I am trying to find the area under the curve as shown in the image. I found the peaks of the signal and plotted the line on the signal. I am looking to calculate the area shaded in green for the entire signal. I have no idea how to do this. Any ideas are welcomed. Thank you

1 Comment
Dyuman Joshi
on 22 Feb 2023
For the 3rd area from left, why is the area not a triangle and a quadrilateral?
Because the 4th point is higher than 3rd point?
Accepted Answer
More Answers (1)
KSSV
on 22 Feb 2023
0 votes
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!