Trapezium rule from table of results

8 vues (au cours des 30 derniers jours)
Karl Zammit
Karl Zammit le 1 Mai 2021
I am trying to get a result using the trapezium rule for the last two columns, the 1st column is the x axis.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by