Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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