From b357ab2b2468c01bab77a2a53110f4f507e1052d Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Mon, 26 Aug 2013 11:45:16 +0200 Subject: [PATCH] Dipole SAR tutorial: minor improvements Signed-off-by: Thorsten Liebig --- matlab/Tutorials/Dipole_SAR.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/matlab/Tutorials/Dipole_SAR.m b/matlab/Tutorials/Dipole_SAR.m index e1709f6..11ae63a 100644 --- a/matlab/Tutorials/Dipole_SAR.m +++ b/matlab/Tutorials/Dipole_SAR.m @@ -17,7 +17,7 @@ clc postprocessing_only = 0; %% prepare simulation folder -Sim_Path = 'Dipole_SAR'; +Sim_Path = 'tmp_Dipole_SAR'; Sim_CSX = 'Dipole_SAR.xml'; %% setup the simulation @@ -170,8 +170,9 @@ legend( 'real', 'imag' ); figure plot( freq/1e9, 20*log10(abs(s11)), 'k-', 'Linewidth', 2 ); grid on +title( 'reflection coefficient' ); xlabel( 'frequency f / MHz' ); -ylabel( 'reflection coefficient |S_{11}|' ); +ylabel( 'S_{11} (dB)' ); %% read SAR and visualize SAR_field = ReadHDF5Dump([Sim_Path '/SAR.h5']); @@ -198,6 +199,7 @@ disp(['power budget: ' num2str(100*(nf2ff.Prad + ptotal) / Pin_f0) ' %']); figure [X Y] = ndgrid(SAR_mesh.lines{1},SAR_mesh.lines{2}); h = pcolor(X,Y,log10(SAR_field.FD.values{1}/abs(Pin_f0))); +title( 'logarithmic SAR on an xy-plane' ); xlabel('x -->') ylabel('y -->') axis equal tight @@ -208,6 +210,7 @@ set(h,'EdgeColor','none'); figure [X Z] = ndgrid(SAR_mesh.lines{1},SAR_mesh.lines{3}); h = pcolor(X,Z,log10(squeeze(SAR_field.FD.values{1}))/abs(Pin_f0)); +title( 'logarithmic SAR on an xz-plane' ); xlabel('x -->') ylabel('z -->') axis equal tight