You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Adam Wyatt (2026). Moments of a function (https://www.mathworks.com/matlabcentral/fileexchange/15639-moments-of-a-function), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.37 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
