Trapezium rule from table of results

조회 수: 6 (최근 30일)
Karl Zammit
Karl Zammit 2021년 5월 1일
답변: Sindhu Karri 2021년 5월 4일
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일
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개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by