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