non central moments of all orders
mom = moment(x, ord) mom = moment(x, ord, orientation)
real or complex vector or matrix
positive integer
index of the dimension along which the moment is computed. It can be either
"*" (default), "r" or
"c"real or complex scalar or vector
moment(x, ord) or moment(x, ord, "*") is the non central moment or order ord
of the elements of x.
If a third argument of type string 'r' (or 1) or 'c' (or 2) is used, we get in the
first case, a row vector mom such that
mom(j) contains the non central moment of order
ord of the j column of x.
moment(x,ord,'c') is used in the same way for the
non central moments in the rows.
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.