Fourier transforming from x and y columns
Mostrar comentarios más antiguos
I have a function; y = f(x) in a text file column 1 = x, column 2 = y. I have imported the columns and declared them as x and y respectively. This is how the function looks like when I put plot(x,y). So, back to the question, how do I Fourier-transform this function? Thank you!

Respuestas (2)
Thorsten
el 20 de Mayo de 2015
u = fft(y);
1 comentario
Walter Roberson
el 20 de Mayo de 2015
No, that would only work if the x were at consistent intervals.
Categorías
Más información sobre MATLAB 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!