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 % http://openems.de/index.php/Tutorial:_Bent_Patch_Antenna
% %
% Tested with % Tested with
% - Matlab 2011a / Octave 3.6.4 % - Matlab 2011a / Octave 4.0
% - 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 close all
clear clear

View File

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

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_CRLH_Leaky_Wave_Antenna % http://openems.de/index.php/Tutorial:_CRLH_Leaky_Wave_Antenna
% %
% Tested with % Tested with
% - Matlab 2011a / Octave 3.4.3 % - Matlab 2011a / Octave 4.0
% - openEMS v0.0.27 % - openEMS v0.0.33
% %
% (C) 2011,2012 Thorsten Liebig <thorsten.liebig@gmx.de> % (C) 2011-2015 Thorsten Liebig <thorsten.liebig@gmx.de>
close all close all
clear clear
@ -70,7 +70,7 @@ for n=1:N_Cells
end end
% Smooth the given mesh % Smooth the given mesh
mesh = SmoothMesh(mesh, resolution, 1.5); mesh = SmoothMesh(mesh, resolution, 1.5, 'algorithm',[1 3]);
CSX = DefineRectGrid( CSX, unit, mesh ); CSX = DefineRectGrid( CSX, unit, mesh );
%% Setup the substrate layer %% 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); 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() figure()

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_Conical_Horn_Antenna % http://openems.de/index.php/Tutorial:_Conical_Horn_Antenna
% %
% Tested with % Tested with
% - Matlab 2011a / Octave 3.6.3 % - Matlab 2011a / Octave 4.0
% - openEMS v0.0.31 % - 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 close all
clear clear

View File

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

View File

@ -5,9 +5,9 @@
% http://openems.de/index.php/Tutorial:_Dipole_SAR % http://openems.de/index.php/Tutorial:_Dipole_SAR
% %
% Tested with % 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 close all
clear 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(['max SAR: ' num2str(max(SAR(:))/Pin_f0) ' W/kg normalized to 1 W accepted power']);
disp(['accepted power: ' num2str(Pin_f0) ' W']); disp(['accepted power: ' num2str(Pin_f0) ' W (100 %)']);
disp(['radiated power: ' num2str(nf2ff.Prad) ' W']); disp(['radiated power: ' num2str(nf2ff.Prad) ' W ( ' num2str(round(100*(nf2ff.Prad) / Pin_f0)) ' %)']);
disp(['absorbed power: ' num2str(ptotal) ' W']); disp(['absorbed power: ' num2str(ptotal) ' W ( ' num2str(round(100*(ptotal) / Pin_f0)) ' %)']);
disp(['power budget: ' num2str(100*(nf2ff.Prad + ptotal) / Pin_f0) ' %']); disp(['power budget: ' num2str(100*(nf2ff.Prad + ptotal) / Pin_f0) ' %']);
%% plot on a x/y-plane %% plot on a x/y-plane

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_Helical_Antenna % http://openems.de/index.php/Tutorial:_Helical_Antenna
% %
% Tested with % Tested with
% - Matlab 2011a / Octave 3.6.4 % - Matlab 2011a / Octave 4.0
% - openEMS v0.0.31 % - 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 close all
clear clear

View File

@ -8,10 +8,10 @@
% Memory requirement (RAM): ~ 700MB % Memory requirement (RAM): ~ 700MB
% %
% Tested with % Tested with
% - openEMS v0.0.31 % - openEMS v0.0.33
% - Matlab 7.12.0 (R2011a) % - 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 close all

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_MRI_Loop_Coil % http://openems.de/index.php/Tutorial:_MRI_Loop_Coil
% %
% Tested with % Tested with
% - openEMS v0.0.31 % - openEMS v0.0.33
% - Matlab 7.12.0 (R2011a) % - 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 close all
clear clear

View File

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

View File

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

View File

@ -5,7 +5,8 @@
% %
% Tested with % Tested with
% - Matlab 2011a % - Matlab 2011a
% - openEMS v0.0.31 % - Octave 4.0
% - openEMS v0.0.33
% %
% References: % References:
% [1] Y. Yusuf and X. Gong, A low-cost patch antenna phased array with % [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 % circuit simulations, in Proc. Second European Conference on Antennas
% and Propagation EuCAP 2007, 1116 Nov. 2007, pp. 15. % 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 close all

View File

@ -5,10 +5,10 @@
% http://openems.de/index.php/Tutorial:_Simple_Patch_Antenna % http://openems.de/index.php/Tutorial:_Simple_Patch_Antenna
% %
% Tested with % Tested with
% - Matlab 2013a / Octave 3.8.1 % - Matlab 2013a / Octave 4.0
% - openEMS v0.0.32 % - 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 close all
clear clear