필터 지우기
필터 지우기

Integration of discrete data which have a non-linear relationship

조회 수: 2 (최근 30일)
J.S.
J.S. 2018년 6월 11일
답변: Anton Semechko 2018년 6월 12일
In the https://www.mathworks.com/help/matlab/math/integration-of-numeric-data.html documentation page, it is noted that non-linear behavior between the discrete data points being integrated could result in inaccuracy when trapz is used. Is there a better function call to use for such an instance, instead?

채택된 답변

Anton Semechko
Anton Semechko 2018년 6월 12일
Numerical integration based on Simpson's rule provides greater accuracy than integration using trapezoidal rule. Here is an implementation of Simpson's rule from Matlab's Central File Exchange: Simpson's rule for numerical integration

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by