A simple one-dimensional finite-difference time-domain (FDTD) electromagnetic routine that allows the user to specify arbitrary permittivity, permeability and conductivity profiles. Useful for helping students to visualize reflection, transmission, wave velocity and impedance concepts. Will also show WKB approximation.
Here's another example of matlab script demonstrating FDTD in 1D
Great code, thanks. Reference H. Loui's well-documented 1D FDTD Yee implementation; you can get it by searching "1d fdtd yee" ... it's the first hit as of today.
good but what is shows in y axis.
3d radiation if antenna using FDTD
can you please help me for writing fdtd code in 2d for EM waves.I m having difficulty with Absorbing boundary conditions and amplitude of the field goes on incresing after some iterations
2d progamming using matlab
Thank you very much for sharing this document.
A very nice and straightforward example. Some references would be a nice addition for the students.
It´s a very good FDTD introductory example.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.