Why does my matlab say "islocalmax not found" when I try to use it?

2 views (last 30 days)
I am using MATLAB 2017a. If that function is not built in is there an alternative or a place where I can find the code for that function?

Answers (2)

Star Strider
Star Strider on 23 Dec 2019
The islocalmax function first appeared in R2017b.
If you have the Signal Processing Toolbox, use the findpeaks function.

Image Analyst
Image Analyst on 23 Dec 2019
If you have the Image Processing Toolbox, you can use imregionalmax(). It sounds like it should do the same thing. It's been there for many, many releases.

Community Treasure Hunt

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

Start Hunting!