Publisher review:Moments of a function generates the nth order moment of a function. Computes the nth moment mean of a function (needs more implentation).m = moment(x, y, n)m = nth moment of yx = domainy = datan = nth moment == 1 by defaultm = int(x^n * y) / int(y)where int is integral over all x integral is calculated using trapezium rule Requirements: ยท MATLAB Release: R2007a
Moments of a function is a Matlab script for Chemistry and Physics scripts design by Adam Wyatt.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris