MATLAB: How to locate peak frequencies using “find peak” and add it to an existing FFT

fftfind peak

My friends and I are experimenting at our private lab and using a MatLab Fast Fourier Transform program. We would like to add a "find peak" function to locate one or more locations on the FFT. How would I insert this function? Thanks.

Best Answer

There are some File Exchange contributions that do this.
The Signal Processing Toolbox has the findpeaks function, and since you’re doing EEG analysis, you’ll be using other signal processing techniques such as filtering and spectrographic analysis. so it’s worth getting it if you don’t already have it.
Related Question