openEMS/matlab/SetSinusExcite.m

13 lines
315 B
Matlab

function FDTD = SetSinusExcite(FDTD,f0)
% function FDTD = SetSinusExcite(FDTD,f0)
%
% see also SetGaussExcite SetCustomExcite
%
% e.g FDTD = SetSinusExcite(FDTD,1e9);
%
% openEMS matlab interface
% -----------------------
% author: Thorsten Liebig
FDTD.Excitation.ATTRIBUTE.Type=1;
FDTD.Excitation.ATTRIBUTE.f0=f0;