Moments of a function
版本 1.0.0.0 (1.4 KB) 作者:
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
引用格式
Adam Wyatt (2024). Moments of a function (https://www.mathworks.com/matlabcentral/fileexchange/15639-moments-of-a-function), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2007a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |