MATLAB Implementation of 2D FDTD with PML Boundary Conditions and Magnetic Field Computation
This 2D FDTD program implements Perfectly Matched Layer (PML) boundaries and compares PML versus Mur boundary methods for calculating Hz(i,1) at j=1. The computational domain extends to 400×400 grid points without additional boundary treatments, maintaining consistent time steps across simulations to ensure result reliability.