Using the Huygens–Fresnel principle to simulate the propagating optical field in one dimension.
https://github.com/xiangyu066/Optical-Computation/blob/master/Docs/Code4_FieldPropagation.md
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This code can provide you with how to calculate the propagating optical field from near-field to far-field. Moreover, I raise some common optical problems, such as a single slit and double slits, to simulate the propagating field and you can compare these results with your optics textbooks.
Cite As
XYZ (2026). Optical Field Propagation in 1-dim (https://uk.mathworks.com/matlabcentral/fileexchange/74983-optical-field-propagation-in-1-dim), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (2.05 KB)
MATLAB Release Compatibility
- Compatible with R2019a to R2019b
Platform Compatibility
- Windows
- macOS
- Linux
