ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cumulative distribution function

how to plot cumulative distribution function on the histogram?
0 Kudos
Message 1 of 3
(3,708 Views)
Supposing that the histogram is an array of data, you only have to calculate the cumulated sum of all the array elements. Use a For loop, and a shift register to record the last calculated sum. There are a lot of other possible solutions, including integration vis.
See the attached vi.

CC
Chilly Charly    (aka CC)
Message 2 of 3
(3,702 Views)
Here is a LV 7.0 version.
CC
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 3
(3,689 Views)