How to remove this red line in my micro-doppler analysis?
Ältere Kommentare anzeigen
Here is my main code, I look the spectograms but I only see a red strip just near to the middle bins, which I assume that it is an object with zero speed.
rFFT = fft(mDopplerAvg.*win, [],1);
rFFT = rFFT - mean(rFFT, 2);
% Obtain range bins that include a target
rangePower = mean(abs(rFFT).^2,2);
% Do not use first few bins as they would probably include DC peaks due
% to antenna leakage (can be adjusted empirically)
rangeVar = var(abs(rFFT), 0, 2);
rangeVar(1:6) = 0;
[~, targetIdx] = max(rangeVar);
slowTime = rFFT(targetIdx,:);
Here, the mDopplerAvg is the raw I/Q matrix that I process for micro-Doppler. I have applied some tricks in order that the static zero speed object (the red strip) go away. However, it didn't work. At the last of the code, the classic short time Fourier transform is applied along the second axis, and I think the size of the spectogram is well-configurated. I almost always obtain a map just like below.

5 Kommentare
William Rose
am 3 Jan. 2026
Bearbeitet: William Rose
am 3 Jan. 2026
[Edit: My original request for data files was poor, because I misinterpreted a line of code. I recommend including code that is runnable by others (and data, if needed).]
please provide the data file(s), so that others can run your code.
Mustafa
am 3 Jan. 2026
William Rose
am 3 Jan. 2026
Thank you for your full script. When I asked for a data file in my previous comment, I misunderstood your code. That was my error.
Others cannot execute the script you provided, because they do not have your hardware. I find that I am more likely to get useful help on this site when I supply the simplest example of code (and data) that demonstrates the problem I want to solve. I encourage you to provide the minimum code and a data file needed to make a figure like the one in your original post. Before you post, use the green Run button in the Matlab Answers window, to confirm that the code you have provided is actually runnable by others.
Mustafa
am 3 Jan. 2026
Antworten (1)
Dinesh
am 9 Jan. 2026
0 Stimmen
Based on my understanding, (rFFT - mean(rFFT, 2)) doesn't remove DC fully.
Apply stronger clutter removal before STFT, consider applying high-pass filtering along the slow-time
1 Kommentar
dpb
am 9 Jan. 2026
To avoid DC component from FFT, subtract the mean from the time signal.
Kategorien
Mehr zu DALSA Sapera Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!