openEMS/matlab/SetGaussExcite.m

5 lines
144 B
Matlab

function FDTD = SetGaussExcite(FDTD,f0,fc);
FDTD.Excitation.ATTRIBUTE.Type=0;
FDTD.Excitation.ATTRIBUTE.f0=f0;
FDTD.Excitation.ATTRIBUTE.fc=fc;