GaussHermite
版本 1.0.0.0 (3.1 KB) 作者:
Stephen Bocquet
Gauss-Hermite quadrature using tabulated abscissas and weights
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://ww2.mathworks.cn/matlabcentral/fileexchange/21226-gausshermite), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Numerical Integration and Differential Equations 的更多信息
标签
致谢
参考作品: benbarrowes/f2matlab
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |
