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.
2.4K Downloads
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 (2026). 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

Simple_FDTD_NathanZechar/Simple_FDTD_NathanZechar

Simple_FDTD_NathanZechar/Simple_FDTD_NathanZechar/FDTD_3D_Folder

Version Published Release Notes
1.0.1

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

1.0.0