I have a series of discrete values that are periodic and I am looking to calculate the Fourier series of it. I learnt all of this in college but I can't for the life of me remember now.
The discrete series is as follows [18,17,16,12,8,5,5,8,12,14,16,17].
Using WolframAlpha I calculated that the FFT is as follows: {42.7239+0. i, 10.7348-2.01036 i, -1.58771+1.75 i, 0.288675-0.288675 i, -0.144338-0.25 i, 0.234828-0.010363 i, 0.57735+0. i, 0.234828+0.010363 i, -0.144338+0.25 i, 0.288675+0.288675 i, -1.58771-1.75 i, 10.7348+2.01036 i}
How do I transform this into a fourier series (sines and cosines)?