Gauss Hermite quadrature rule

generates zeros of a Hermite polynomial of degree n to tolerance "tol" and their associated weights.
722 download
Aggiornato 14 mar 2012

Visualizza la licenza

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).

Cita come

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

Compatibilità della release di MATLAB
Creato con R2012a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Numerical Integration and Differential Equations in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
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