Trapezoidal with Simpson's rule-data

버전 1.0.1 (1.7 KB) 작성자: Robby Ching
A combination of Trapezoidal and Simpson's rule (1/3 and 3/8) in evaluating a given set of data
다운로드 수: 88
업데이트 날짜: 2020/10/25

라이선스 보기

If two points have unequal segments, the Trapezoidal rule would be applied. If 3 points have equal segments, Simpson's 1/3 rule would be applied. If 4 points have equal segments, Simpson's 3/8 rule would be applied. This method gives better estimates than using the Trapezoidal rule alone.

인용 양식

Robby Ching (2024). Trapezoidal with Simpson's rule-data (https://www.mathworks.com/matlabcentral/fileexchange/77663-trapezoidal-with-simpson-s-rule-data), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

Corrected an error wherein if the size of the data is either 2 by 2 or 3 by 3, it would either result in an undefined integral value (I) or will copy the previously calculated I value. That is, it now evaluates data of 2 by 2 and 3 by 3 sizes.

1.0.0