Central moments from histogram data

Version 1.0.0.0 (1.47 KB) by Kaare
Calculates central moments of arbitrary order from histogram data.
378 Downloads
Updated 5 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 (2024). Central moments from histogram data (https://www.mathworks.com/matlabcentral/fileexchange/34457-central-moments-from-histogram-data), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Histograms in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0