LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about array of cluster

Solved!
Go to solution

Hello everyone, 

Now I have an array of cluster. The cluster is made of two elements (x,y). Now I want to find the minimal value of y, and its corresponding x. So how should I do this? 

 

Thank you. 

0 Kudos
Message 1 of 2
(2,286 Views)
Solution
Accepted by topic author zyb1003

I would use a For Loop to unbundle just the Y elements into their own array, then use the Array Max & Min function to find the index of that Min Y value of that new array. Once you've got that, then use that index on the cluster array and unbundle just the X value.

 

-Preston

Message 2 of 2
(2,279 Views)