FDTD - 1D, 2D, 3D Simple Free Space Examples

Vectorized FDTD code with GPU functionality for the 3D case. Code is nicely organized and easy to understand.
Updated 23 Oct 2021

View License

A point source located at the center of the simulation domain generates electromagnetic radiation which then propagates through vacuum.
Using a GPU for the 3D case, one can realize the performance increase of the vectorized code.

Cite As

Nathan Zechar (2024). FDTD - 1D, 2D, 3D Simple Free Space Examples (https://www.mathworks.com/matlabcentral/fileexchange/93045-fdtd-1d-2d-3d-simple-free-space-examples), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!



Version Published Release Notes

Simplified 1D, 2D, & 3D codes.
3D now has option for single precision