06-19-2014 06:58 AM - edited 06-19-2014 07:01 AM
Hello,
I have a 2D array (dimensions 62 rows x 24 collumns) and the values cary in the range 0...20. Aditionally, there are 3 limits (L1=1.22, L2=2, L3=10). What i need to do is to see how many values, in each collumn, are below L1, how many between L1 and L2, between L3 and L2, and how many are bigger than L3. These numbers i need to be saved in 4 2D arrays.
For example if the original 2D array is:
1 3 7
0 5 11
3 6 2
the output 1D arrays are:
A1 (for values below L1)
2 0 0
A2 (for values between L1 and L2)
0 0 1
A3 (for values between L2 and L3)
1 3 1
A4 (for values above L3)
0 0 1
Please help, i am new to Labview...
[edit] The title is Data occurrence percentage... i need the 1D arrays as above, because after that it is very easy to transform that into percentages ( by dividing with the total number of lines)
Solved! Go to Solution.
06-19-2014 07:20 AM
Sounds like a task for the General Histogram VI.
Define the bins (e.g. -Inf,1.22; 1.22,2; 2,10; 10, Inf) and feed your data into the VI (one column at a time).
06-19-2014 07:42 AM
Thank you very much, Sir 🙂