How to replace findpeaks() with another function
Show older comments
Hi to all,
I use it in this way:
[maxpeaks, idx] = findpeaks(10*log10(psdx),'MinPeakDistance',195,'NPeaks',4,'MinPeakHeight', -Inf, 'SortStr','descend')
The problem is that I need to run the code in a Matlab version which doesn't have the Signal Processing Toolbox. Is there any solution to write a similar function without the need of the SP Toolbox?
Thank you!
Accepted Answer
More Answers (1)
Star Strider
on 20 May 2018
2 votes
2 Comments
marcusbarnet
on 21 May 2018
Star Strider
on 21 May 2018
Unfortunately, it won’t. It was introduced in R2017b.
Categories
Find more on Signal Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!