Central moments from histogram data
Version 1.0.0.0 (1.47 KB) by
Kaare
Calculates central moments of arbitrary order from histogram data.
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 (2026). Central moments from histogram data (https://uk.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 LinuxCategories
Find more on Histograms in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
