File Exchange

image thumbnail

Gaussian beam propagation through a series of thin lenses

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


Updated 03 Dec 2012

View License

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])

Comments and Ratings (8)

Kon Leung

Liam M-M



A Yariv

fds dfsdfd


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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor