LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract corresponding x and y values from array

Hello,

 

I have an 2D array of data (x and y values).  I do a subarray and seperate the data into two 1D array.  I then extract the max and min values from the y data.  How do I also get the corresponding x values corresponding to the min and max value of the y data?

 

Any help will be appreciated.

 

Thanks,

hiNi

0 Kudos
Message 1 of 4
(3,004 Views)

Hi hiNI,

if you use the max/min function you get the max and min value and also the index of both. Use this index and connect it with the index array function, where you alse connect your x array. You can resize the index array function to connect both at the same time. 

 

Mike

Message 2 of 4
(3,003 Views)

Here's a quick draft.

 

 

Message Edited by altenbach on 09-09-2008 01:00 PM
Message 3 of 4
(2,994 Views)
THANK YOU ALL FOR YOUR HELP AND TIME!
0 Kudos
Message 4 of 4
(2,961 Views)