GaussHermite

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 (2026). GaussHermite (https://jp.mathworks.com/matlabcentral/fileexchange/21226-gausshermite), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2008a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNumerical Integration and Differential Equations についてさらに検索
謝辞

ヒントを得たファイル: benbarrowes/f2matlab

バージョン 公開済み リリース ノート
1.0.0.0