Trapezium rule from table of results

6 visualizzazioni (ultimi 30 giorni)
I am trying to get a result using the trapezium rule for the last two columns, the 1st column is the x axis.

Risposta accettata

Sindhu Karri
Sindhu Karri il 4 Mag 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by