Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

143
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda