LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Locate local maximum

Hi

I plot index versus value of an array with an graph. But how do I locate
index's of local maximum's of my array ?
Can I use 'wavefor peak detection' vi ? if so how ?


/ Peter
0 Kudos
Message 1 of 4
(4,213 Views)
"none" wrote in message
news:b0h0n9$142i$1@news.net.uni-c.dk...
> Hi
>
> I plot index versus value of an array with an graph. But how do I locate
> index's of local maximum's of my array ?
> Can I use 'wavefor peak detection' vi ? if so how ?
>
>
> / Peter
>
>

use FUNCTIONS > ARRAY > ARRAY MIN&MAX

Ale
0 Kudos
Message 2 of 4
(4,213 Views)

The question was about LOCAL maximum.

0 Kudos
Message 3 of 4
(3,166 Views)

@Linkoping wrote:

The question was about LOCAL maximum.


First of all, the question was 15 years old.

 

The question was not very clear because it did not define what is meant by "local". If the data is very noisy, every other point is a local maximum.

 

Obviously, you seem to have a similar problem. did you solve it? Are you trying to find locations where both adjacent values are higher? What kind of threshold defines a local max if all values are quite similar?

 

Easiest for us to understand would be if you could attach a simplified VI containing typical data. Then tell us which locations you are trying to find. Is there a natural width to the features of the data? Yes, the peak detector could be of help if tuned correctly.

0 Kudos
Message 4 of 4
(3,124 Views)