Trapezium rule from table of results

1 view (last 30 days)
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

Sindhu Karri
Sindhu Karri on 4 May 2021
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!

Translated by