Unanswered: relative maxima and minima of an array
I am looking for a routine that calculates the relative maxima and
minima of an array.
Like if you have a sampled sinc function, I need to calculate the
values of the peaks and their locations, as well as the values of the
nulls and their locations.
I wrote a routine like that, but it does not work in some cases. I
think I missed something.
Why don't you show us what you've written and we can provide pointers.
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert