openEMS/matlab/SetSinusExcite.m

15 lines
341 B
Matlab
Raw Permalink Normal View History

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
2010-03-24 17:39:58 +00:00
FDTD.Excitation.ATTRIBUTE.Type=1;
FDTD.Excitation.ATTRIBUTE.f0=f0;
FDTD.ATTRIBUTE.f_max=f0;