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 0Neither string operations nor interpolations are allowed!
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers91
Suggested Problems
-
Find the alphabetic word product
3473 Solvers
-
Return elements unique to either input
815 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14248 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
405 Solvers
-
172 Solvers
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!
Everyone, I've modified the test suite such that common cheats won't work; i.e., regexp/rep, interp1/2/3, num2str, str2num, etc. are disallowed! General numerical solutions, however, are most welcome.