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

 採用された回答

Sindhu Karri
Sindhu Karri 2021 年 5 月 4 日

0 投票

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

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by