Cody

Problem 1304. Hermite Polynomials

Return the n-th Hermite polynomial of the physicists' type.

Assume that n is a non-negative finite integer.

Examples:

 hermite_poly(0)
 ans = 
     1
 hermite_poly(1)
 ans = 
     2     0
 hermite_poly(2)
 ans = 
     4     0   -2
 hermite_poly(3)
 ans = 
     8     0   -12     0

Neither string operations nor interpolations are allowed!

Solution Stats

58.54% Correct | 41.46% Incorrect
Last solution submitted on Mar 28, 2016

Problem Comments

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more