Skip to content

Instantly share code, notes, and snippets.

@redaelhail
Last active March 22, 2022 08:37
Show Gist options
  • Save redaelhail/090f4c877bc0735a3cea5f98e320f207 to your computer and use it in GitHub Desktop.
Save redaelhail/090f4c877bc0735a3cea5f98e320f207 to your computer and use it in GitHub Desktop.
transformation from Range/Doppler to micro-Doppler
// D: number of Doppler bins, 100 in our case
// R: number of Range bins, 128 in our case
// Det\matrix is the range doppler map
// Doppler is the 1D doppler vector
int D=100, R=128;
float Doppler [D];
// iterate over the doppler bins, and then over the range bins
for (int i=0; i < D; i++){
for (int j=0; j < R; j++){
// sum the range bins values of each doppler bin
Doppler[i] = Doppler[i] + DetMatrix[i][j];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment