How to get FFT of a siganl accurately?
Mostra commenti meno recenti
This is a fundamental question. Suppose I have a signal of multiple frequency components, is it possible to get frequency distributions by FFT? Will the output by FFT gives the signal or the signal's power? Kindly describe.
For example, I have a signal
y(t)=A1*sin(2*pi*f1*t)+A2*sin(2*pi*f2*t).
Will my FFT output gives components of magnitude A1 at frequency f1 and amplitude A2 at frequency f2 or something different.
What should I do to get the components as above?
2 Commenti
Walter Roberson
il 15 Lug 2012
Are you discussing the symbolic fourier transform, or the discrete fourier transform? The discrete fourier transform can only give results for f1 and f2 if those frequencies are certain rational multiples of the sampling frequency.
Azzi Abdelmalek
il 15 Lug 2012
no, the Ck given bu fft, is related to the complex Coefficient X(w) of the continu Fourier transform of your signa (considering it's continu). To Find the relation you have to discritise a Fourier Transform with your sample time. you will obtain X(wk) related to Ck. aftr, you will calculate Ak and Bk using this relation Ck=(Ak-jBk)/2 C-k=(Ak+jBk)/2 for more details: my website www.azzimalik.com
Risposta accettata
Più risposte (1)
Azzi Abdelmalek
il 30 Lug 2012
0 voti
look at this function, i posted on exchange files
Categorie
Scopri di più su Discrete Fourier and Cosine Transforms in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!