From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to detect multiple peaks?

1.png

For example, this is a spectrum. Y-axis is power, and X-axis is frequency. 

I have the measured datas (two 1-D arrays), and I want to detect the multiple peaks. Can anyone tell me how to do it? Thanks!

0 Kudos
Message 1 of 3
(2,904 Views)

For a single peak like this, I can use the ArrayMax&Min function to find the peak value..

1.jpg

 

But for multiple peaks,  my idea is that set a threshold (eg:power=-10dB), and cut these spectrums into several peaks like this:

2.png

and then, find the Max value for each set. But I don't know how to realize this....

0 Kudos
Message 2 of 3
(2,897 Views)
0 Kudos
Message 3 of 3
(2,891 Views)