MATLAB Answers

How to get back the values of a curve from its cumulative integral value?

2 views (last 30 days)
Ass on 5 Apr 2021
Commented: Ass on 7 Apr 2021
I have a amplitude distribution with time ( i.e. real curve, blak line). Then I did cumulative trapezoidal inegration of the curve using cumtrapz, which is represented by blue curve. Now, I again retain the real curve i.e. black curve from its cumulative integration i.e. blue curve. How I will get the real curve? Please provide me the suggestions. Thanks in advance.

Accepted Answer

darova on 5 Apr 2021
Use diff to find real curve from cumulative trapezoid result
Ass on 7 Apr 2021
Thank you so much. I did mistake in length of the data. Now it is appropiate. Thanks a lot.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!