Trapezium rule from table of results

I am trying to get a result using the trapezium rule for the last two columns, the 1st column is the x axis.

 Accepted Answer

Hii,
You can use trapz function to calculate the integral.Refer the syntax trapz(X,Y) which might be helpful for your use case.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!