FFT of sine function

5 ビュー (過去 30 日間)
Namira
Namira 2018 年 5 月 25 日
回答済み: sloppydisk 2018 年 5 月 25 日
I am trying to plot power of sine function. When I do FFT of sine wave I got two peaks for a single sin function. I don't know understand it. Why do I get two frequency spikes from a simple sin function via FFT? How can I get only one peak for a single sin function?

回答 (1 件)

sloppydisk
sloppydisk 2018 年 5 月 25 日
You'll get both positive and negative frequencies, see
doc fft
for an example of a single-sided spectrum, i.e. only positive frequencies.

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by