25 lines
1.1 KiB
Matlab
25 lines
1.1 KiB
Matlab
%%************************【选择检测算法函数】*****************************%%
|
|
%%=============================参数说明===================================%%
|
|
% data_Freuq 待检测的频域信号
|
|
% Pf 虚警概率(双门限代表低门限虚警概率)
|
|
% PfH 高门限虚警概率 (单门限时设置为零)
|
|
% operator 选择使用的检测算法
|
|
% JJ 检测出来的干扰点集合
|
|
%%========================================================================%%
|
|
function JJ = Select_Detection(data_Freuq,Pf,PfH,Num_step,operator)
|
|
if strcmp(operator,'CME')==1
|
|
JJ = CME(data_Freuq,Pf);
|
|
elseif strcmp(operator,'FCME')==1
|
|
JJ = FCME(data_Freuq,Pf);
|
|
elseif strcmp(operator,'FCME_hard')==1
|
|
JJ = FCME_hard(data_Freuq,Pf);
|
|
elseif strcmp(operator,'Double_Th_FCME')==1
|
|
JJ = Double_Th_FCME(data_Freuq,Pf,PfH);
|
|
elseif strcmp(operator,'FCME_pro')==1
|
|
JJ = FCME_pro(data_Freuq,Pf);
|
|
elseif strcmp(operator,'DiffFCME')==1
|
|
JJ = DiffFCME_B(data_Freuq,Pf,Num_step);
|
|
else
|
|
disp('Error,please enter the correct mode of operation!');
|
|
end
|
|
end |