update Tutorials

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
Thorsten Liebig 2015-06-16 21:13:25 +02:00
parent a929aa0c25
commit a4b07501a7
13 changed files with 42 additions and 41 deletions

View File

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

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_CRLH_Extraction
%
% Tested with
% - Matlab 2011a / Octave 3.4.3
% - openEMS v0.0.26
% - Matlab 2011a / Octave 4.0
% - openEMS v0.0.33
%
% (C) 2011,2012 Thorsten Liebig <thorsten.liebig@gmx.de>
% (C) 2011-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all
clear
@ -56,7 +56,7 @@ mesh.z = [0 cumsum(substrate_thickness) linspace(substratelines(end-1),substrate
[CSX mesh] = CreateCRLH(CSX, mesh, CRLH, resolution/4);
% Smooth the given mesh
mesh = SmoothMesh(mesh, resolution, 1.5);
mesh = SmoothMesh(mesh, resolution, 1.5, 'algorithm',[1 3]);
CSX = DefineRectGrid( CSX, unit, mesh );
%% Setup the substrate layer

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_CRLH_Leaky_Wave_Antenna
%
% Tested with
% - Matlab 2011a / Octave 3.4.3
% - openEMS v0.0.27
% - Matlab 2011a / Octave 4.0
% - openEMS v0.0.33
%
% (C) 2011,2012 Thorsten Liebig <thorsten.liebig@gmx.de>
% (C) 2011-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all
clear
@ -70,7 +70,7 @@ for n=1:N_Cells
end
% Smooth the given mesh
mesh = SmoothMesh(mesh, resolution, 1.5);
mesh = SmoothMesh(mesh, resolution, 1.5, 'algorithm',[1 3]);
CSX = DefineRectGrid( CSX, unit, mesh );
%% Setup the substrate layer
@ -143,7 +143,7 @@ disp( 'calculating 3D far field pattern...' );
nf2ff = CalcNF2FF(nf2ff, Sim_Path, f_rad, theta*pi/180, phi*pi/180, 'Outfile','3D_Pattern.h5', 'Mode', 0,'Verbose',1);
%%
P_in = interp1(f, port.P_acc, f_rad);
P_in = interp1(f, port{1}.P_acc, f_rad);
figure()

View File

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

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_2D_Cylindrical_Wave
%
% Tested with
% - Matlab 2011a/ Octave 3.4.3
% - openEMS v0.0.26
% - Matlab 2011a/ Octave 4.0
% - openEMS v0.0.33
%
% (C) 2011,2012 Thorsten Liebig <thorsten.liebig@gmx.de>
% (C) 2011-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all
clear

View File

@ -5,9 +5,9 @@
% http://openems.de/index.php/Tutorial:_Dipole_SAR
%
% Tested with
% - openEMS v0.0.31
% - openEMS v0.0.33
%
% (C) 2013 Thorsten Liebig <thorsten.liebig@uni-due.de>
% (C) 2013-2015 Thorsten Liebig <thorsten.liebig@uni-due.de>
close all
clear
@ -188,9 +188,9 @@ nf2ff = CalcNF2FF(nf2ff, Sim_Path, f0, theta*pi/180, phi*pi/180, 'Outfile','3D_P
%%
disp(['max SAR: ' num2str(max(SAR(:))/Pin_f0) ' W/kg normalized to 1 W accepted power']);
disp(['accepted power: ' num2str(Pin_f0) ' W']);
disp(['radiated power: ' num2str(nf2ff.Prad) ' W']);
disp(['absorbed power: ' num2str(ptotal) ' W']);
disp(['accepted power: ' num2str(Pin_f0) ' W (100 %)']);
disp(['radiated power: ' num2str(nf2ff.Prad) ' W ( ' num2str(round(100*(nf2ff.Prad) / Pin_f0)) ' %)']);
disp(['absorbed power: ' num2str(ptotal) ' W ( ' num2str(round(100*(ptotal) / Pin_f0)) ' %)']);
disp(['power budget: ' num2str(100*(nf2ff.Prad + ptotal) / Pin_f0) ' %']);
%% plot on a x/y-plane

View File

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

View File

@ -8,10 +8,10 @@
% Memory requirement (RAM): ~ 700MB
%
% Tested with
% - openEMS v0.0.31
% - openEMS v0.0.33
% - Matlab 7.12.0 (R2011a)
%
% (C) 2013 Thorsten Liebig <thorsten.liebig@uni-due.de>
% (C) 2013-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_MRI_Loop_Coil
%
% Tested with
% - openEMS v0.0.31
% - openEMS v0.0.33
% - Matlab 7.12.0 (R2011a)
%
% (C) 2013 Thorsten Liebig <thorsten.liebig@uni-due.de>
% (C) 2013-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all
clear

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_Microstrip_Notch_Filter
%
% Tested with
% - Matlab 2011a / Octave 3.4.3
% - openEMS v0.0.26
% - Matlab 2011a / Octave 4.0
% - openEMS v0.0.33
%
% (C) 2011,2012 Thorsten Liebig <thorsten.liebig@gmx.de>
% (C) 2011-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all
clear

View File

@ -5,11 +5,11 @@
% http://openems.de/index.php/Tutorial:_Parallel_Plate_Waveguide
%
% Tested with
% - Matlab 2011a / Octave 3.4.3
% - openEMS v0.0.26
% - Matlab 2011a / Octave 4.0
% - openEMS v0.0.33
%
% (C) 2011,2012 Sebastian Held <sebastian.held@gmx.de>
% (C) 2011,2012 Thorsten Liebig <thorsten.liebig@gmx.de>
% (C) 2011-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all
clear

View File

@ -5,7 +5,8 @@
%
% Tested with
% - Matlab 2011a
% - openEMS v0.0.31
% - Octave 4.0
% - openEMS v0.0.33
%
% References:
% [1] Y. Yusuf and X. Gong, A low-cost patch antenna phased array with
@ -20,7 +21,7 @@
% circuit simulations, in Proc. Second European Conference on Antennas
% and Propagation EuCAP 2007, 1116 Nov. 2007, pp. 15.
%
% (C) 2013 Thorsten Liebig <thorsten.liebig@gmx.de>
% (C) 2013-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_Simple_Patch_Antenna
%
% Tested with
% - Matlab 2013a / Octave 3.8.1
% - openEMS v0.0.32
% - Matlab 2013a / Octave 4.0
% - openEMS v0.0.33
%
% (C) 2010-2014 Thorsten Liebig <thorsten.liebig@uni-due.de>
% (C) 2010-2015 Thorsten Liebig <thorsten.liebig@uni-due.de>
close all
clear