2D Simpson's Integrator

버전 1.0.0.0 (2.79 KB) 작성자: Whayne Padden
Fully vectorised 2D integrator based on the Simpson's method
다운로드 수: 2.3K
업데이트 날짜: 2009/3/5

라이선스 보기

Fast, fully vectorised version of the Simpson's method for 2D domains. This code avoids the use of any for loops etc. For a given level of accuracy it can be an order of magnitude or more faster than dblquad.

Examples are provided within the code.

Useage:

ans = simp2D('func',xs,xe,ys,ye,NX,NY)

Input parameters:

func - 2D function that accepts vector inputs (otherwise
incorrect results can occur)
xs, xe - x-limits of integration
ys, ye - y-limits of integration
NX - number of integration intervals in the x-direction (should be even)
NY - number of integration intervals in the y-direction (should be even)

인용 양식

Whayne Padden (2026). 2D Simpson's Integrator (https://kr.mathworks.com/matlabcentral/fileexchange/23204-2d-simpson-s-integrator), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2006b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0