refact(findstall): replace findpeaks by islocalmax
Rather than looking for the stall point using findpeaks, simply look for the highest local maximum. Not only is this faster and cleaner, but it removes the unneeded dependency to the _Signal Processing Toolbox_.
Please register or sign in to comment