Fit Nrml PDF to Histogram VI
- Updated2024-11-20
- 2 minute(s) read
Given the bin centers from a histogram (x values output of the Histogram or General HistogramVI), the sigma of the observations for the histogram, and the total number of observations in the histogram, calculates the height for a normal probability distribution function (PDF) that fits the histogram.

Inputs/Outputs
![]() bin centers is the x-axis values for the center of each histogram bin. Connect the x values output of the histogram VI to this input. ![]() (DBL) - the sigma of the observations from which the histogram was created. The Process Mean & Sigma VI or the Sample Statistics VI can be used to estimate sigma. ![]() (I32) - the number of observations from which the histogram was created. (i.e. the length of the input array X to the General Histogram VI). ![]() PDF Height (DBL) - the height of the normal PDF that will fit the histogram. Use this as an input to the Plot Normal PDF VI or Normal PDF Graph with Limits VI. |