For pedagogic / scientific diffusion purposes.
F5 to run and create the animation file named 'EB_dynamic_fields_animation.gif' that will appear in the same folder as you registered this .m file.
Waves are sinusoids, electric and magnetic waves planes are orthogonal.
Please rate if it helped you. Thanks.
Nicolas Douillet (2020). Electromagnetic field propagation animation (https://www.mathworks.com/matlabcentral/fileexchange/73927-electromagnetic-field-propagation-animation), MATLAB Central File Exchange. Retrieved .
All functions in one file only, added some options