Trapezium rule from table of results

6 Ansichten (letzte 30 Tage)
Karl Zammit
Karl Zammit am 1 Mai 2021
Beantwortet: Sindhu Karri am 4 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.

Akzeptierte Antwort

Sindhu Karri
Sindhu Karri am 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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by