m = moment(X, order)
m = moment(X, order, dim)
m = moment(X, order, vecdim)
m = moment(X, order, 'all')
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.
X = [1 2 4; 2 4 8; 3 8 13];
m = moment(X, 3)
| Version | Description |
|---|---|
| 2.0.0 | initial version |