File Exchange

image thumbnail

Central moments from histogram data

version 1.0.0.0 (1.47 KB) by Kaare
Calculates central moments of arbitrary order from histogram data.

4 Downloads

Updated 05 Jan 2012

View License

histStat expects two inputs, a vector of bin-centers and a matrix of counts. Each column is treated as a separate histogram. This method is preferred when the data consists of a large amount of histograms, for instance taken at different times.
For an n X m input matrix, each output vector is 1 X m. For k output-vectors, the moments from 1 to k will be calculated.

An example of the syntax is given in the m-file.

Cite As

Kaare (2020). Central moments from histogram data (https://www.mathworks.com/matlabcentral/fileexchange/34457-central-moments-from-histogram-data), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux