bug fixes in matlab tutorials

pull/1/head
Thorsten Liebig 2011-11-08 11:47:01 +01:00
parent c9357823ff
commit 1bb34a8d35
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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;