File Exchange

image thumbnail


version (2.94 KB) by Natan
Propagates a Gaussian beam through a series of thin lenses


Updated 17 Jun 2019

GitHub view license on GitHub

Focusing of spherical Gaussian beams using a thin lenses (Based on Self's paper, Applied Optics, Vol. 22, Issue 5, pp. 658-661 (1983), )
Inputs are:
lambda - beam's wavelength
beam_waist - waist of the beam at the waist position (wp)
wp - waist position
fpos - lenses positions vector [pos1, pos2, pos3 ...]
f - lenses focal-lengths vector [f1, f2, f3 ...]

For example:
Gaussian_Propagation(8e-7,0.00075,-0.1,[0 0.1],[-0.5 0.2])

Cite As

Natan (2019). Gaussian_Propagation (, GitHub. Retrieved .

Comments and Ratings (8)

Kon Leung

Liam M-M



A Yariv

fds dfsdfd


connected with GitHub

Continue the beam propagation up to the beam waist if it happens to be much after the last lens position (thanks Graham). Added the option to print waist positions and sizes on the figure.

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux