Commit 52917a451fd6a529fabf445636acb7bcb499c0af

Authored by Yujen Ku
1 parent 727ccf17e5
Exists in master

modification of figure code

Showing 1 changed file with 3 additions and 4 deletions Side-by-side Diff

mmwave_objectdetection.m View file @ 52917a4
... ... @@ -11,7 +11,7 @@
11 11 INTERPOLATE = 0;
12 12  
13 13 %snr settings (run estimation under different snr values)
14   -snr_value = [0]; %snr_value = [10,20,50,100,200,500,1000];
  14 +snr_value = [100]; %snr_value = [10,20,50,100,200,500,1000];
15 15  
16 16 %how many cycles of packets you are going to measure(each cycle: 2 nulling estimation packets andd 5 object detecting packets)
17 17 total_num_est = 100;
... ... @@ -550,7 +550,7 @@
550 550 title(['SNR = ' num2str(snr) ' db']);
551 551 xlabel('time(packet)');
552 552 ylabel('distance');
553   - ylim([0,100]);
  553 +
554 554 figure(20+snr_i)
555 555 scatter(obj_est_gridx,obj_est_gridy,[],c);
556 556 hold;