how to find fft
조회 수: 1 (최근 30일)
이전 댓글 표시
hai frnds,
i have 7653 values for bond length of OH bond in water during spectral analysis.so now the next step is to find the fft of the bond length.value of time varies as (0:.725:5548.425).please generate the code for me.I am stucked
댓글 수: 1
Behind The Sciences
2016년 4월 18일
Have a look to this post to understand what you want to do: http://www.behindthesciences.com/signal-processing/fouriertransformtheory
Then,have a look to this post to get code that you need: http://www.behindthesciences.com/signal-processing/fouriertransformmatlabtutorial
답변 (1개)
Star Strider
2016년 4월 18일
See this documentation for the fft function. The code between the top two plot figures has everything you need to analyse and plot your Fourier transformed data.
댓글 수: 6
Star Strider
2016년 4월 19일
The frequencies sort themselves.
To find the peaks and the associated frequencies, use the findpeaks function on the absolute value of the fft, just as you plotted them here.
참고 항목
카테고리
Help Center 및 File Exchange에서 Transforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!