Plot Hermite Gaussian Beams

This file generates the complex amplitude of any linear combination Hermite Gaussian beams.

You are now following this Submission

This file uses another function I found on the exchange called HermitePoly, to generate the complex amplitude of any linear combination of Hermite Gaussian Beams. The math is based off of Section 3.3 of Fundamentals of Photonics, by Saleh and Teich. NOTE: you need the HermitePoly function for the code to execute! The code is reasonably well commented, so you should be able to adjust it to fit your needs. Currently it only generates a linear combination of HG beams of orders between 0-3 in both the x and y parameters, and the plots the intensity of the linear combination.

Cite As

John (2026). Plot Hermite Gaussian Beams (https://www.mathworks.com/matlabcentral/fileexchange/29258-plot-hermite-gaussian-beams), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0