smooth2
No License
SMOOTH2.M: Smooths matrix data.
MATRIXOUT=SMOOTH2(MATRIXIN,Nr,Nc) smooths the data in MATRIXIN using a running mean over 2*N+1 successive points, N points on each side of the current point. At the ends of the series skewed or one-sided means are used.
Inputs: matrixIn - original matrix
Nr - number of points used to smooth rows
Nc - number of points to smooth columns
Outputs: matrixOut - smoothed version of original matrix
Remark: By default, if Nc is omitted, Nc = Nr.
Cite As
Kelly Hilands (2024). smooth2 (https://www.mathworks.com/matlabcentral/fileexchange/6298-smooth2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Curve Fitting Toolbox > Smoothing >
- MATLAB > Data Import and Analysis > Preprocessing Data >
Tags
Acknowledgements
Inspired: smoothc.mat, smooth2a
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |