Skip to content

Instantly share code, notes, and snippets.

Is there a way to find the start and end x axis position of a peak ?
I have a negative peak and when I use this code, the maxtab gives me the start of the peak and mintab gives me the maximum peak value.