how remove unwanted angle of arrivals for four channel microphone drone detection system

1 view (last 30 days)
angles.JPG
I need gudance for removing those frames which contain unwanted angle of arrivals i.e refelction from grounds, blue color are pure drone sound angle of arrivals,
how can i create an boolean array to filter out unnecessary Angle of arrivals, I used "eframe' to do framing and apply GCCPHAT for getting delays of sounds for each frames and finally calculate angles of sound source to microphone, now red color signals are due to reflection i want remove them, please researchers guide me.
angleNum = length(tau1);
angles = zeros(angleNum, 2);
for i = 1:angleNum
[theta, varphi] = angleGet(tau1(i), tau2(i), tau3(i));
angles(i, 1) = theta;
angles(i, 2) = varphi;
end
figure(5);
scatter(angles(:, 1), angles(:, 2));
  1 Comment
Amjad Iqbal
Amjad Iqbal on 10 Jan 2019
angle_select = zeros(686,2);
for i = 1:686
if angles(i,2) >-90
angle_select(i,:) = angles(i,:);
end
end
angle_select(all(angle_select == 0,2),:) = [];
figure(6);
scatter(angle_select(:, 2), angle_select(:, 1));
index_angle = find(angles(:,2)>-90);
index_frame = index_angle+1;
T_select = T(index_frame);
Is this right way for removing those frames which contain unwanted angle of arrivals??

Sign in to comment.

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!