My previous posts are as follows:

1.Mitigation of dead zones when applying circular polarized antenna

2.Standing waves modes inside a cavity resonator

3.Visual understanding of EM fields within a rectangular metal container

4.Insight into cavity resonators

5.Multimode cavity resonator

I came across an algorithm called Yee's algorithm that uses a finite-difference time-domain to allows me to simulate EM waves. This was exactly what I was looking for. I know there is an abundant source of info already on this platform and on google. However, this is still too complicated for me to understand. In addition, I would like to implement this algorithm using MatLab.

I also know from the previous post of open-source software tools available but once again I have no idea on where to even begin. Can anyone help with regards referring me to a absolute beginners textbook that include matlab code for me to try to gain some form of understanding on FDTD.

  • \$\begingroup\$ you are supposed to ask a question so that someone here can post an answer to your question ... please update you post with a clear, answerable question \$\endgroup\$
    – jsotola
    Oct 2, 2019 at 0:30
  • \$\begingroup\$ @jsotola my original question was to ask for help explaining how FDTD works but after doing some research I realized it would be ridiculous for someone to answer that whole section in a single post. Hence I figured it would be more efficient for someone to refer me to a textbook. \$\endgroup\$
    – JoeyB
    Oct 2, 2019 at 6:24

2 Answers 2


in this book you can find Matlab implementations for FDTD. It specifically used for microstrip circuits but it might help you.

I hope this helps.


Let me recommend this (1) excellent book, targeted to students.

It comes with C examples, but the code is not that complex. What I love about this is that it starts with a barebone example in 1D, and scales up using PML, 2D, etc.

Best of luck!

(1) Understanding the Finite-Difference Time-Domain Method, John B. Schneider, www.eecs.wsu.edu/~schneidj/ufdtd, 2010


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.