I would like to define the function with Fourier series when I just have discrette data. (I don't have a specific function).

I can draw the graph using the data, but I don't have a idea how can I get this function. The plot is a periodic.

I want to obtain a function that will work like a Fourier series expansion. How can I define such a function?

Graph enter image description here

Horizontal-axis is Time. Vertical-axis is Space.


1 Answer 1


Use Fourier[]. It calculates the FFT of the data. Then you can change the magnitude and phase information into a sum of sinusoids. See the answer to this question: How to approximate a given WAV file with trigonometric series? for details on how to do it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.