From 0457d85dfc8ba6738edbc82f243e6ef5dc471c68 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Tue, 20 Sep 2011 10:00:10 +0200 Subject: [PATCH] tutorials: fixed typos --- matlab/Tutorials/CRLH_Extraction.m | 6 +++--- matlab/Tutorials/CRLH_LeakyWaveAnt.m | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/matlab/Tutorials/CRLH_Extraction.m b/matlab/Tutorials/CRLH_Extraction.m index a3df7ef..bb8f66f 100644 --- a/matlab/Tutorials/CRLH_Extraction.m +++ b/matlab/Tutorials/CRLH_Extraction.m @@ -21,7 +21,7 @@ unit = 1e-6; % specify everything in um feed_length = 30000; substrate_thickness = [1524 101 254]; -substrate_epr = [3.48 3.48 3.48]; +substrate_epsr = [3.48 3.48 3.48]; CRLH.LL = 14e3; %CRLH totel (line) length CRLH.LW = 4e3; %CRLH unit cell width (without the stubs) @@ -45,7 +45,7 @@ FDTD = SetBoundaryCond( FDTD, BC ); %% Setup a basic mesh and create the CRLH unit cell CSX = InitCSX(); -resolution = c0/(f_stop*sqrt(max(substrate_epr)))/unit /30; % resolution of lambda/30 +resolution = c0/(f_stop*sqrt(max(substrate_epsr)))/unit /30; % resolution of lambda/30 mesh.x = [-feed_length-CRLH.LL/2 0 feed_length+CRLH.LL/2]; mesh.y = [-30000 0 30000]; @@ -65,7 +65,7 @@ CSX = DefineRectGrid( CSX, unit, mesh ); substratelines = [0 substratelines]; for n=1:numel(substrate_thickness) CSX = AddMaterial( CSX, ['substrate' int2str(n)] ); - CSX = SetMaterialProperty( CSX, ['substrate' int2str(n)], 'Epsilon', substrate_epr(n) ); + CSX = SetMaterialProperty( CSX, ['substrate' int2str(n)], 'Epsilon', substrate_epsr(n) ); start = [mesh.x(1), mesh.y(1), substratelines(n)]; stop = [mesh.x(end), mesh.y(end), substratelines(n+1)]; CSX = AddBox( CSX, ['substrate' int2str(n)], 0, start, stop ); diff --git a/matlab/Tutorials/CRLH_LeakyWaveAnt.m b/matlab/Tutorials/CRLH_LeakyWaveAnt.m index 8324f90..ded07b1 100644 --- a/matlab/Tutorials/CRLH_LeakyWaveAnt.m +++ b/matlab/Tutorials/CRLH_LeakyWaveAnt.m @@ -21,7 +21,7 @@ unit = 1e-6; % specify everything in um feed_length = 20000; substrate_thickness = [1524 101 254]; -substrate_epr = [3.48 3.48 3.48]; +substrate_epsr = [3.48 3.48 3.48]; N_Cells = 8; %number of CRLH unit cells @@ -54,7 +54,7 @@ FDTD = SetBoundaryCond( FDTD, BC ); %% Setup a basic mesh and create the CRLH unit cell CSX = InitCSX(); -resolution = c0/(f_stop*sqrt(max(substrate_epr)))/unit /30; % resolution of lambda/30 +resolution = c0/(f_stop*sqrt(max(substrate_epsr)))/unit /30; % resolution of lambda/30 mesh.x = [-feed_length-(N_Cells*CRLH.LL)/2-Air_Spacer -feed_length-(N_Cells*CRLH.LL)/2 0 feed_length+(N_Cells*CRLH.LL)/2 feed_length+(N_Cells*CRLH.LL)/2+Air_Spacer]; mesh.y = [-Air_Spacer-substrate_width/2 0 Air_Spacer+substrate_width/2]; @@ -78,7 +78,7 @@ CSX = DefineRectGrid( CSX, unit, mesh ); substratelines = [0 substratelines]; for n=1:numel(substrate_thickness) CSX = AddMaterial( CSX, ['substrate' int2str(n)] ); - CSX = SetMaterialProperty( CSX, ['substrate' int2str(n)], 'Epsilon', substrate_epr(n) ); + CSX = SetMaterialProperty( CSX, ['substrate' int2str(n)], 'Epsilon', substrate_epsr(n) ); start = [-feed_length-(N_Cells*CRLH.LL)/2, -substrate_width/2, substratelines(n)]; stop = [+feed_length+(N_Cells*CRLH.LL)/2, substrate_width/2, substratelines(n+1)]; CSX = AddBox( CSX, ['substrate' int2str(n)], 0, start, stop );