how to do integration for the curve which is made by matlab according to the series?

1 view (last 30 days)
Now I have an array A as below:
I can plot an curve according to the array A as below:
now I want to do integration for the curve, shall I? how?
thank you!

Accepted Answer

Star Strider
Star Strider on 22 Aug 2014
Use the trapz function.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!