Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • $\begingroup$ "But Fourier transform is used to analysis non-periodic functions": Not really. It follows directly from the definition of the DFT that all signals are periodic in both time and frequency. Analyzing non periodic functions can only be done approximately. The DFT is complex. Your synthesis looks like you took the amplitude but not the phase from the DFT. $\endgroup$ Commented May 14 at 17:37
  • $\begingroup$ Main question here is if the original graph is not composed of the above mentioned sinusoids of frequencies 0.5,1,1.5,2 etc, then why we see spikes there? $\endgroup$ Commented May 14 at 19:23
  • 1
    $\begingroup$ Look, I don't know what your background is, but you seem to have a lot of misconceptions about the Fourier Transform. The equation of the DFT is deceptively simple: the actual implications of it are mathematical quite complicated and without a solid understanding of that (sampling, periodicity, time and frequency domain aliasing, frequency res., truncation & windowing, etc.) you will not have a lot of success here. You picked a gnarly example: if you want to tackle this I strongly recommend first working out the CFT by hand and then applying the sampling process to see what happens in the DFT. $\endgroup$ Commented May 15 at 16:25
  • $\begingroup$ AL-zami: The first plot is a function of continuous time $t$ (I assume t is the continuous time variable). However, the $N$-point DFT requires $N$ points of sampled data as input. You have not specified (that I can see) anywhere what your sample period $T_s$ is, what $N$ is, and where the samples were taken. $\endgroup$ Commented May 16 at 2:30