Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

134
Visualizações
Does anyone know how best to cope with floating point errors in the FFT calculation process?

Does anyone know how best to cope with floating point errors in the FFT calculation process? The problem is that these errors accumulate because of all the summations. They are especially annoying when computing the phase for a given frequency component:

atan(imaginary / real) can give quite a significant phase shift if both real and imaginary are tiny due to a floating point truncation, but of the same order.

The only solution I have come up with so far is to look at the maximum magnitude in the signal and disregard any frequency with a magnitude of under 1% of the maximum value and set it's real part to 0 so the phase comes out as NaN. However, this seems a little clumsy to me. Any better ideas would be most welcome.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda