DiffractionCalculat​or

Calculates the diffraction pattern for a planar rectangular aperture by numerical integration.
79 Downloads
Updated 9 Feb 2026

View License

This Live Script calculates the diffraction pattern for a planar rectangular aperture on a parallel planar viewing screen by numerical integration using Huygen's Principle and related models. Various "Try this" suggestions are offered to explore parameters in the calculation. This script is suitable for students of physics.

Cite As

Duncan Carlsmith (2026). DiffractionCalculator (https://ch.mathworks.com/matlabcentral/fileexchange/110260-diffractioncalculator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.01

Added interactive_examples tag

1.0.1

Spell check

1.0.0