Gauss Hermite quadrature rule

版本 1.3.0.0 (3.9 KB) 作者: David Holdaway
generates zeros of a Hermite polynomial of degree n to tolerance "tol" and their associated weights.
724.0 次下载
更新时间 2012/3/14

查看许可证

Uses recursion relation to generate the Hermite function and finds zeros via change of sign and linear interpolation. If a tolerance is specified, the routine will call itself recursively with a finer grid until convergence is reached, or a maximum number of loops are performed (default 5).

引用格式

David Holdaway (2024). Gauss Hermite quadrature rule (https://www.mathworks.com/matlabcentral/fileexchange/35594-gauss-hermite-quadrature-rule), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Numerical Integration and Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

fixed a bug where the script would crash from nmax odd

1.2.0.0

fixed ordering of convergence if statements

1.1.0.0

Stopped using Newtons method, convergence was buggy. New method appears to work fine.
Also added an alternative convergence condition of the maximum absolute uncertainty in zero position.

1.0.0.0