FFT of a selected number of data points.

1 view (last 30 days)
Aqua22
Aqua22 on 28 May 2015
Commented: Aqua22 on 5 Jun 2015
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.

Answers (2)

Sander Hermanussen
Sander Hermanussen on 28 May 2015
fft(yoursignal(first_sample,second_sample))
I.e., simply select a range of your signal.
  2 Comments
Aqua22
Aqua22 on 29 May 2015
Is that it? Matlab says fft(x) or fft(x,n) where n refers to n point dft. Nowhere it tells about a range of signal :-(

Sign in to comment.


Adam
Adam on 28 May 2015
Edited: Adam on 28 May 2015
doc fft
doc colon

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!