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

Learn moreOpportunities for recent engineering grads.

Apply TodayReturn 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!

22 correct solutions
17 incorrect solutions

Last solution submitted on Apr 27, 2015

1 player likes this problem

1 Comment