moment
Central moment of a data set.
📝Syntax
m = moment(X, order)
m = moment(X, order, dim)
m = moment(X, order, vecdim)
m = moment(X, order, 'all')
📄Description

moment computes the central moment of the requested positive integer order.

The first-order central moment is zero. The second-order central moment uses a divisor of n.

💡Examples
X = [1 2 4; 2 4 8; 3 8 13];
m = moment(X, 3)
🔗See Also
skewnesskurtosisvar
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub