diff --git a/matlab/Tutorials/CRLH_LeakyWaveAnt.m b/matlab/Tutorials/CRLH_LeakyWaveAnt.m index ded07b1..7bbe29c 100644 --- a/matlab/Tutorials/CRLH_LeakyWaveAnt.m +++ b/matlab/Tutorials/CRLH_LeakyWaveAnt.m @@ -115,7 +115,6 @@ Sim_CSX = 'CRLH.xml'; WriteOpenEMS( [Sim_Path '/' Sim_CSX], FDTD, CSX ); CSXGeomPlot( [Sim_Path '/' Sim_CSX] ); -return RunOpenEMS( Sim_Path, Sim_CSX ); %% post-processing diff --git a/matlab/Tutorials/Simple_Patch_Antenna.m b/matlab/Tutorials/Simple_Patch_Antenna.m index 569cdab..09d2d47 100644 --- a/matlab/Tutorials/Simple_Patch_Antenna.m +++ b/matlab/Tutorials/Simple_Patch_Antenna.m @@ -129,7 +129,7 @@ legend( 'real', 'imag' ); % plot reflection coefficient S11 figure uf_inc = 0.5*(U.FD{1}.val + I.FD{1}.val * 50); -if_inc = 0.5*(I.FD{1}.val - U.FD{1}.val / 50); +if_inc = 0.5*(I.FD{1}.val + U.FD{1}.val / 50); uf_ref = U.FD{1}.val - uf_inc; if_ref = if_inc - I.FD{1}.val; s11 = uf_ref ./ uf_inc;