Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

ned a help to extract the frequency of occurence of serie of numbers

ned a help to extract the frequency of occurence of caracters/numbers in an array. the output should be a 2D array ie..(number;frequency)
0 Kudos
Message 1 of 3
(3,181 Views)
Check out the CWStat.Histogram method. It should be able to do what you are wanting.

TonyH
Measurement Studio
0 Kudos
Message 2 of 3
(3,181 Views)
Hello,
I think you will want to look at the CWStat.Histogram function. This takes an input array, as well as upper and lower limits. You then set up the intervals, and there are two outputs from the function. The first being a histogram array from the input array. The second is the histogram axis array. The size of both of the output arrays are determined from the number of elements in the interval input parameter.

Daniel McChane
Application Engineering
National Instruments
Message 3 of 3
(3,181 Views)