Trapezium rule from table of results
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to get a result using the trapezium rule for the last two columns, the 1st column is the x axis.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/603515/image.jpeg)
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!