GaussHermite

버전 1.0.0.0 (3.12 KB) 작성자: Stephen Bocquet
Gauss-Hermite quadrature using tabulated abscissas and weights
다운로드 수: 2.1K
업데이트 날짜: 2008/8/26

라이선스 보기

Numerical integration from -Inf to Inf of an integrand in the form f(x)*exp(-x^2)

f(x) must be a slowly varying function

fn_val = GaussHermite(func, npt, varargin)

func is a handle for f(x)

npt is the number of points at which f(x) is to be evaluated. A look-up table of abscissas and weights is used, so npt must be 2, 4, 6, 8, 10, 12, 16 or 20.

varargin contains any extra parameters for f

TestGaussHermite(k,b) tests the integration for f(x) = 1, x^2, cos(bx),
selected with k = 0, 1, 2 respectively.

인용 양식

Stephen Bocquet (2024). GaussHermite (https://www.mathworks.com/matlabcentral/fileexchange/21226-gausshermite), MATLAB Central File Exchange. 검색됨 .

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

받음: benbarrowes/f2matlab

Community Treasure Hunt

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

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