Add Example
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
clc
|
||||
clear
|
||||
close all
|
||||
|
||||
|
||||
Fontsize = 18;
|
||||
plot_width = 800;
|
||||
plot_height = 600;
|
||||
Linewidth = 2;
|
||||
Markersize = 8;
|
||||
|
||||
|
||||
Pfa_set = '1e-4';
|
||||
method = 'cs';
|
||||
if_part = 1;
|
||||
SNR = 10;
|
||||
|
||||
if if_part == 1
|
||||
filename = ['Raw_Echo_', num2str(SNR), 'dB_', method, '_part'];
|
||||
else
|
||||
filename = ['Raw_Echo_', num2str(SNR), 'dB_', method];
|
||||
end
|
||||
|
||||
load(['./output/Pfa', Pfa_set, '/', filename, '.mat']);
|
||||
|
||||
%%
|
||||
element = 1;
|
||||
list_r_idx = find(target_list_RDA(:, 1) == element);
|
||||
|
||||
figure(1)
|
||||
scatter3(target_list_RDA(list_r_idx,2), target_list_RDA(list_r_idx,3),...
|
||||
target_list_RDA(list_r_idx,4), 'filled', 'o')
|
||||
xlabel('Range(m)');
|
||||
ylabel('Speed(m/s)');
|
||||
zlabel('Angle(°)');
|
||||
zlim([-90, 90]);
|
||||
ylim([80, 160]);
|
||||
xlim([17000, 21000]);
|
||||
set(gca, 'FontSize', Fontsize);
|
||||
title(['Target detected by ', upper(method), ' under Pfa=', Pfa_set])
|
||||
set(gcf, 'position', [100, 200, plot_width+100, plot_height+50]);
|
||||
set(gca,'fontsize',18,'fontname','Times');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user