MATLAB Answers

Getting two components for one frequency in FFT

3 ビュー (過去 30 日間)
Kaveri A
Kaveri A 2021 年 4 月 21 日
コメント済み: Bjorn Gustavsson 2021 年 4 月 21 日
Hi,
I'm getting 2 freq in fft .
But I have signal at 1MHz. Getting peak at 999000 and next is at 1MHz.(other frequencies are also there , 10k, 50k, 500k. For these peak is same as signal frequency.)
Sampling freq is 5MPs.
What is happening at 1MHz ?
Any reason for this?
Please clarify this.
Thank you..
  2 件のコメント
Kaveri A
Kaveri A 2021 年 4 月 21 日
Any code alterations needed?
Or other solution?
Please provide your suggestions...

サインインしてコメントする。

採用された回答

Bjorn Gustavsson
Bjorn Gustavsson 2021 年 4 月 21 日
The fft is a circular Fourier transform, there will always be some spectral leakage from frequencies that are not exactly periodic over your data-sample-array. That is what you see here.
HTH
  6 件のコメント
Bjorn Gustavsson
Bjorn Gustavsson 2021 年 4 月 21 日
Code looks OK, share the input signal for more detailed answer.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by