Moments of a function

Generates the nth order moment of a function.
2,6K download
Aggiornato 20 lug 2007

Visualizza la licenza

Computes the nth moment mean of a function (needs more implentation).

m = moment(x, y, n)

m = nth moment of y
x = domain
y = data
n = nth moment == 1 by default

m = int(x^n * y) / int(y)

where int is integral over all x integral is calculated using trapezium rule

Cita come

Adam Wyatt (2024). Moments of a function (https://www.mathworks.com/matlabcentral/fileexchange/15639-moments-of-a-function), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Chemistry in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0