2010-04-24 11:09:24 +00:00
|
|
|
function FDTD = SetGaussExcite(FDTD,f0,fc)
|
2011-04-20 12:22:22 +00:00
|
|
|
% function FDTD = SetGaussExcite(FDTD,f0,fc);
|
2010-04-24 11:09:24 +00:00
|
|
|
%
|
|
|
|
% f0 : center frequency
|
|
|
|
% fc : 3dB cutoff frequency --> bandwidth is 2*fc
|
|
|
|
%
|
|
|
|
% see also SetSinusExcite SetCustomExcite
|
|
|
|
%
|
|
|
|
% e.g FDTD = SetGaussExcite(FDTD,1e9,1e8);
|
|
|
|
%
|
|
|
|
% openEMS matlab interface
|
|
|
|
% -----------------------
|
|
|
|
% author: Thorsten Liebig
|
2010-03-22 22:15:04 +00:00
|
|
|
|
|
|
|
FDTD.Excitation.ATTRIBUTE.Type=0;
|
|
|
|
FDTD.Excitation.ATTRIBUTE.f0=f0;
|
|
|
|
FDTD.Excitation.ATTRIBUTE.fc=fc;
|