islocalmax(‘flat selection’) selecting 0 value points
I am trying to select these ‘flat’ peaks from a set of data and as I need the range of index values I am using islocalmax(data,’FlatSelection’,’all’) and for most of my data it does a good job as shown in the picture above but others end up looking like this.
Was wondering if there is a way to fix this? I have tried altering things like minprominence and such.I am trying to select these ‘flat’ peaks from a set of data and as I need the range of index values I am using islocalmax(data,’FlatSelection’,’all’) and for most of my data it does a good job as shown in the picture above but others end up looking like this.
Was wondering if there is a way to fix this? I have tried altering things like minprominence and such. I am trying to select these ‘flat’ peaks from a set of data and as I need the range of index values I am using islocalmax(data,’FlatSelection’,’all’) and for most of my data it does a good job as shown in the picture above but others end up looking like this.
Was wondering if there is a way to fix this? I have tried altering things like minprominence and such. matlab, graph MATLAB Answers — New Questions