Hermite Polynomials - MATLAB Cody - MATLAB Central

Problem 1304. Hermite Polynomials

Difficulty:Rate

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

56.8% Correct | 43.2% Incorrect
Last Solution submitted on Oct 27, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
14
6

Problem Recent Solvers82

Suggested Problems

More from this Author18

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page