openEMS/matlab/SetSinusExcite.m

4 lines
108 B
Matlab

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