diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-09-06 16:54:06 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-09-06 16:54:06 -0400 |
commit | 5e146bb83de82a17b21ed31e699fb596b47a639d (patch) | |
tree | 10802d6d68cea07d66cefb1b278c6a164b111202 /xmds2/Shahriar_system/pp.m | |
parent | 1f2007bb3ce4a7afb2ad5f9aaea8ed0ea3435e9d (diff) | |
download | Nresonances-5e146bb83de82a17b21ed31e699fb596b47a639d.tar.gz Nresonances-5e146bb83de82a17b21ed31e699fb596b47a639d.zip |
Added normalized output trace for the probe field
Helps to gauge delay or advancement of the pulse
Diffstat (limited to 'xmds2/Shahriar_system/pp.m')
-rw-r--r-- | xmds2/Shahriar_system/pp.m | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xmds2/Shahriar_system/pp.m b/xmds2/Shahriar_system/pp.m index 38857cd..8862c52 100644 --- a/xmds2/Shahriar_system/pp.m +++ b/xmds2/Shahriar_system/pp.m @@ -31,9 +31,10 @@ printf('delay time = %f uS\n',delay_time); figure(2) subplot(1,2,1); plot( ... - t_1,I1_out_1(:,1)/ampl,'-;before;' ... -% ,t_1,I1_out_1(:,end)/ampl, '-;after;' ... - ,t_1,I1_out_after_filtered/ampl, '-;after smothed;' ... + t_1,I1_out_1(:,1)/ampl,'-;before normalized;' ... +% ,t_1,I1_out_1(:,end)/ampl, '-;after normalized;' ... + ,t_1,I1_out_after_filtered/ampl, '-;after smoothed;' ... + ,t_1,I1_out_after_filtered/max(I1_out_after_filtered), '-;after smoothed and normalized ;' ... ) xlabel('t (uS)') ylabel('I_1') |