필터 지우기
필터 지우기

FFT of a selected range of points

조회 수: 1 (최근 30일)
Aqua22
Aqua22 2015년 6월 5일
답변: Salaheddin Hosseinzadeh 2015년 6월 5일
I have a waveform as the one attached and I need to perform FFT over a small section of this waveform (like the one highlighted by a rectangle). How can I do that? I don't have any prior experience of working in frequency domain. Any help would be greatly appreciated.

채택된 답변

Rushikesh Tade
Rushikesh Tade 2015년 6월 5일
if you know the time where it started you can simply do it by using:
fft(signal(initial_time:final_time))
  댓글 수: 1
Aqua22
Aqua22 2015년 6월 5일
It worked. Thanks Rushikesh.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015년 6월 5일
Dear Aqua,
Please be aware. You probably going to need a window! If you only take the fft of a section without properly separate it from the rest of the data you will end of with some unwanted artifacts in the frequency domain.
You should either use spectrogram or apply an appropriate smoothing window to your time domain signal. Basically spectrogram does the same thing. Otherwise the result may be inaccurate.

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by