Fourier transforming from x and y columns
Ältere Kommentare anzeigen
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!

Antworten (2)
Thorsten
am 20 Mai 2015
u = fft(y);
1 Kommentar
Walter Roberson
am 20 Mai 2015
No, that would only work if the x were at consistent intervals.
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!