Hermite polynomials
Compute Hermite polynomials.
h = hermite(n)
h = hermite(n,x)
Inputs:
- n is the order of the Hermite polynomial (n>=0).
- x is (optional) values to be evaluated on the resulting Hermite polynomial function.
There are two possible outputs:
1. If x is omitted then h is an array with (n+1) elements that contains coefficients of each Hermite polynomial term. E.g. calling h = hermite(3) will result h = [8 0 -12 0], i.e. 8x^3 - 12x.
2. If x is given, then h = Hn(x) and the shape of h is in the same size of x. E.g., H2(x) = 4x^2 - 2, then calling h = hermite(2,[0 1 2]) will result h = [-2 2 14].
More information: http://suinotes.wordpress.com/2010/05/26/hermite-polynomials-with-matlab/
Authors:
Avan Suinesiaputra (avan dot sp at gmail dot com)
Fadillah Z Tala (fadil dot tala at gmail dot com)
Zitieren als
Avan Suinesiaputra (2026). Hermite polynomials (https://de.mathworks.com/matlabcentral/fileexchange/27746-hermite-polynomials), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Elementary Math > Polynomials >
Tags
Quellenangaben
Inspiriert: Multivariate Gaussian kernel in any derivative order, hermiteh.m : Hn(x), a hermite polynomial calculator
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.3.0.0 | Bug fixes when an array is given as an argument (reported by Shiguo Peng). |
||
| 1.1.0.0 | Bug fixed when hermite(0,x) was called and x is not empty. |
||
| 1.0.0.0 |
