Laser Speckle / Point Spread Function Generator

Generation of laser speckle with controlled Numerical Aperture and wavelength. Also simulates point spread function of an objective.

https://mlphotonics.wordpress.com/

You are now following this Submission

Laser Speckle generated thorugh an objective by Marco Leonetti. 18/06/2021. Algorithm based on the summation of plane waves with K vectors extracted randomply with directions compatible with an objective lens (with Numerical aperture NA) illuimination. The model is for one or two polarization (Polarizations Variable). The software also support the simulation of the focused spot size (focusing Point Spread Function ) of an objective. (Put Sim_Objective to 1) in this case the plane wave dephasing is set to zero (flat wavefront at the objective input).
See also https://mlphotonics.wordpress.com/

Cite As

Marcoleonetti1 (2026). Laser Speckle / Point Spread Function Generator (https://www.mathworks.com/matlabcentral/fileexchange/94310-laser-speckle-point-spread-function-generator), 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.1

Added Profile of the PSF, Profile visualization, changed inputs, FWHM visualization.

1.0.0