From 52917a451fd6a529fabf445636acb7bcb499c0af Mon Sep 17 00:00:00 2001 From: Yujen Ku Date: Fri, 15 Jun 2018 23:22:17 -0700 Subject: [PATCH] modification of figure code --- mmwave_objectdetection.m | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mmwave_objectdetection.m b/mmwave_objectdetection.m index 1af0551..9e66a55 100644 --- a/mmwave_objectdetection.m +++ b/mmwave_objectdetection.m @@ -11,7 +11,7 @@ DETECTION_OFFSET = 50; % to add packet detection error INTERPOLATE = 0; %snr settings (run estimation under different snr values) -snr_value = [0]; %snr_value = [10,20,50,100,200,500,1000]; +snr_value = [100]; %snr_value = [10,20,50,100,200,500,1000]; %how many cycles of packets you are going to measure(each cycle: 2 nulling estimation packets andd 5 object detecting packets) total_num_est = 100; @@ -550,7 +550,7 @@ for snr_i = 1:1:length(snr_value) title(['SNR = ' num2str(snr) ' db']); xlabel('time(packet)'); ylabel('distance'); - ylim([0,100]); + figure(20+snr_i) scatter(obj_est_gridx,obj_est_gridy,[],c); hold; @@ -566,5 +566,4 @@ for snr_i = 1:1:length(snr_value) xlabel('time(packet)'); ylabel('theda'); -end - +end \ No newline at end of file -- 1.9.1