tutorials: some minor updates

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/10/head
Thorsten Liebig 2013-07-13 12:53:15 +02:00
parent a488d352e3
commit 61a595519b
4 changed files with 8 additions and 8 deletions

View File

@ -48,7 +48,7 @@ f_rad = (1.9:0.05:4.2)*1e9;
nf2ff_resolution = c0/max(f_rad)/unit/15;
%% setup FDTD parameters & excitation function %%%%%%%%%%%%%%%%%%%%%%%%%%%%
FDTD = InitFDTD(100000, 1e-3);
FDTD = InitFDTD('EndCriteria', 1e-3);
FDTD = SetGaussExcite( FDTD, (f_start+f_stop)/2, (f_stop-f_start)/2 );
BC = {'PML_8' 'PML_8' 'PML_8' 'PML_8' 'PML_8' 'PML_8'};
FDTD = SetBoundaryCond( FDTD, BC );

View File

@ -5,8 +5,8 @@
% http://openems.de/index.php/Tutorial:_Helical_Antenna
%
% Tested with
% - Matlab 2011a / Octave 3.4.3
% - openEMS v0.0.27
% - Matlab 2011a / Octave 3.6.4
% - openEMS v0.0.31
%
% (C) 2012 Thorsten Liebig <thorsten.liebig@uni-due.de>
@ -41,7 +41,7 @@ feed.R = 120; %feed impedance
SimBox = [1 1 1.5]*2*lambda0;
%% setup FDTD parameter & excitation function
FDTD = InitFDTD( 30000 );
FDTD = InitFDTD( );
FDTD = SetGaussExcite( FDTD, f0, fc );
BC = {'MUR' 'MUR' 'MUR' 'MUR' 'MUR' 'PML_8'}; % boundary conditions
FDTD = SetBoundaryCond( FDTD, BC );

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_Horn_Antenna
%
% Tested with
% - Matlab 2011a / Octave 3.4.3
% - openEMS v0.0.27
% - Matlab 2011a / Octave 3.6.4
% - openEMS v0.0.31
%
% (C) 2011,2012 Thorsten Liebig <thorsten.liebig@uni-due.de>
% (C) 2011,2012,2013 Thorsten Liebig <thorsten.liebig@uni-due.de>
close all
clear

View File

@ -31,7 +31,7 @@ f_start = 50e6; % start frequency
f_stop = 1000e6; % stop frequency
f0 = 500e6;
FDTD = InitFDTD( 30000 );
FDTD = InitFDTD( );
FDTD = SetGaussExcite( FDTD, 0.5*(f_start+f_stop), 0.5*(f_stop-f_start) );
BC = [1 1 1 1 1 1]*3; % set boundary conditions
FDTD = SetBoundaryCond( FDTD, BC );