FFT of sine function
조회 수: 5 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!