FFT and IFFT: Change the values of complex number
Mostrar comentarios más antiguos
Hi everyone,
I am in the midst of analyzing a time series data of tidal current speed.
I have performed FFT analysis on the data and would like to change few of the complex number values at certain time steps to zero. However, upon changing the complex number to zero, when I perform an IFFT, it return a complex double values instead of double values of speed.
Any clue what causes this? What is the correct way to change complex number to 0+0i?
What I am trying to do here is to remove the tidal constituent from the current speed data and keep the non - harmonic residual speed time series.
Thanks.
Jack
Respuesta aceptada
Más respuestas (1)
Honglei Chen
el 1 de Abr. de 2015
0 votos
Most likely you didn't maintain the symmetry when you setting this to zero. It would be helpful if you show the snippet where you set the spectrum to 0.
1 comentario
Jack Vun Zac Lee
el 3 de Abr. de 2015
Categorías
Más información sobre Filter Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
