I'm working from an example posted here. I understand the steps to acquire the fourier transform and can clearly see the spikes at normalized frequencies at 15 and 40 Hz from the 0-centered periodogram. Knowing this, I believe that I can reconstruct a smoother version of the signal as:
$x_{\text{reconstructed}}(t)=\alpha_1 sin(30\pi t)+\alpha_2 sin(80\pi t)$.
I have two questions related to this reconstruction:
- How do I obtain the coefficients $\alpha_1$ and $\alpha_2$ without an inverse fourier transform of the entire frequency domain data set? Is there a more efficient way?
- How could I have obtained the 15 & 40 Hz frequencies from the transformed data? I know I can sort the transformed data to determine that these two frequencies had the highest two powers. But if the data set were very large, this might be unfeasible. Is there another way to determine the important frequencies?