Add Random PRI

This commit is contained in:
Ksyer
2024-07-16 15:55:41 +08:00
parent 8c906b6618
commit 95c0eb89b8
3 changed files with 125 additions and 0 deletions
+59
View File
@@ -0,0 +1,59 @@
global bandwidth T_p f_s T_s K_chirp f_c PRF T_r numP t tP c N M R_0...
delta_R_wide delta_R_narrow N_wide N_narrow ranges_wide...
ranges_narrow betas_wide FIGURE K_wide K_narrow trail_times...
method N_high TEST lambda tau iter_max noise_sigma FAR_N FAR_M noise_sigma_2 DEBUG_LEVEL...
;
f_c = 10e9; % X wave
bandwidth = 100e6;
T_p = 1e-5;
f_s = 2 * bandwidth;
T_s = 1 / f_s;
K_chirp = bandwidth / T_p;
T_r = T_p * 10;
PRF = 1 / T_r;
numP = 10;
t = 0: 1 / f_s: T_r - 1 / f_s;
tP = 0: 1 / f_s: T_r * numP - 1 / f_s;
c = 3e8; % 光速
N = length(t);
N_high = T_p * f_s;
M = round(T_p * bandwidth);
R_0 = 0;
delta_R_wide = c ./ 2 ./ bandwidth;
delta_R_narrow = T_p .* c ./ 2;
N_wide = 100;
N_narrow = round(N_wide / M);
% alert(N > N_narrow);
ranges_wide = R_0 + (0:N_wide) * delta_R_wide; % [1000, 4000]
ranges_narrow = R_0 + (0:N_narrow) * delta_R_narrow; % [1000, 4000]
betas_wide = linspace(1, 0.1, N_wide) + 1j * linspace(0.1, 1, N_wide);
K_wide = round(N_wide / 10);
K_narrow = round(K_wide / 10);
FIGURE = false;
trail_times = 5000;
% method = "debiased_LASSO";
% method = "LASSO";
% method = "BP";
method = "cVAMPro";
TEST = false;
lambda = 0.01;
tau = 1e-6;
iter_max = 1000;
noise_sigma = 0.1;
noise_sigma_2 = 0.1;
FAR_N = 480;
FAR_M = 10;
DEBUG_LEVEL = 1;