Create Hermite polynomial
y=hermite_poly(n)
a 1-by-1 matrix of doubles, integer value, n>=0.
a polynomial
Create a Hermite polynomial of degree n at point x.
The Hermite polynomials are orthogonals with respect to the scalar product :
where w(x) is the Hermite weight.
To evaluate it, we can use the horner function, but hermite_eval might be faster and more accurate.
for n=0:10 y=hermite_poly(n); disp(y) end | ![]() | ![]() |
http://en.wikipedia.org/wiki/Gaussian_integral
http://en.wikipedia.org/wiki/Hermite_polynomials