From 5e146bb83de82a17b21ed31e699fb596b47a639d Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 6 Sep 2011 16:54:06 -0400 Subject: Added normalized output trace for the probe field Helps to gauge delay or advancement of the pulse --- xmds2/Shahriar_system/pp.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xmds2/Shahriar_system/pp.m') 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') -- cgit v1.2.3