Moments of a function
Versión 1.0.0.0 (1,37 KB) por
Adam Wyatt
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 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
Citar como
Adam Wyatt (2024). Moments of a function (https://www.mathworks.com/matlabcentral/fileexchange/15639-moments-of-a-function), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2007a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |