How to find the peaks without using findpeaks function?

29 次查看(过去 30 天)
I dont have signal processing toolbox.
I have attached the file.
  1 个评论
Rik
Rik 2019-7-4
Have a read here and here. It will greatly improve your chances of getting an answer.
What defines a peak? Once you define that in mathematical terms, the rest is just implementation and optimization.
Also, should the result be the exact same as the Matlab function? You might have to be careful not to infringe any copyright if you want to attempt something like that. You can have a look at how GNU Octave has implemented this function, but there you need to be careful about the licencing as well.

请先登录,再进行评论。

回答(1 个)

Guillaume
Guillaume 2019-7-4
There are several alternatives to the Signal Processing Toolbox findpeaks on the file exchange.
This one and this one are the first two I found. I'm sure you can use your favorite search engine to find more.

Community Treasure Hunt

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

Start Hunting!

Translated by