Gaussian envelop modulated with sinusoidal signal is the source. The units are in nm,fs,eV. Perfectly matched layer boundary condition are imposed on both sides of the computational domain.
Sathyanarayan Rao (2021). 1D Finite Difference Time Domain simulation (FDTD) with Perfectly Matched Layer (PML) (https://www.mathworks.com/matlabcentral/fileexchange/53433-1d-finite-difference-time-domain-simulation-fdtd-with-perfectly-matched-layer-pml), MATLAB Central File Exchange. Retrieved .
I am getting an error in getframe command in the code. How to rectify it?
Error in getframe (line 133)
x = alternateGetframe(parentFig, offsetRect, scaledOffsetRect, includeDecorations);
Error in fdtdunit (line 91)
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!