AnsweredAssumed Answered

HP54750 Direct I/O, Peak Detection

Question asked by VRFuser on Feb 24, 1998
"Daniel J. Pompea" <DANIEL.J.POMPEA@cpmx.saic.com> wrote:
>
> 2) Any automatic peak detection algorithms to process a 512 point waveform,
> and find the top 5(or so) peaks, and their locations. I have not been very
> successful in manipulating array objects and creating (I guess) subarrays.

I hacked together a quick example last night that should do what
you want. Returns first "n" peaks from the input data. Fairly crude
but should give you the idea- and it works fairly quickly: ~250msec
on my notebook (pentium 133) to find 10 peaks out of a 2500 point array.

regards

Stan Bischof
rsb@sr.hp.com
************************************

Outcomes