DiffractionCalculator
Version 1.0.1 (889 KB) by
Duncan Carlsmith
Calculates the diffraction pattern for a planar rectangular aperture by numerical integration.
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://uk.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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
