# Calculation Of The Hermite Polynomials In MatLab®

Hermite polynomials are a very important aspect of advanced mathematics and Matlab® provides very useful commands to calculate these advanced mathematical operations. One of these functions is the ‘hermiteH()’.

Here we explain how to calculate the Hermite polynomials in Matlab® with the ‘hermiteH()’ command with a very basic example below. You can try this in your own Matlab® software.

You can find detailed information about the ‘hermiteH()’ command, from this link.

On this post

## How To Use The ‘hermiteH()’ Command In MatLab®?

``````>> hermiteH(4,5)

ans =

8812

>> ``````

As you see above, the use of the ‘hermiteH()’ command in Matlab® is very simple to calculate hermite polynomials. To use it, you need to enter two variables or inputs inside the brackets of the ‘hermiteH()’ command, then hit the ‘Enter’ key to see the result in the Matlab® command window.

The general expression of the Hermite polynomial is like the above. The two variables that you are defining inside the brackets of the ‘hermiteH()’ command is like this;

• The first input is the value ‘n’ in the equation above.
• And the second input is the ‘x’ in the equation above.

The calculation is performed with these variables in Matlab®.

## Conclusion

As you understand that the use of the ‘hermiteH()’ command in Matlab® is very simple to calculate the hermite functions with the inputs.

Do not forget to leave your comments and questions below about the use of ‘hermiteH()’ command in Matlab® below.

YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!

If you want further coding examples about ‘hermiteH()’ command in Matlab®, inform us in the comments.