smooth2

版本 1.0.0.0 (1.0 KB) 作者: Kelly Hilands
Smooths the data in a 2D matrix with a user-defined resolution.
6.3K 次下载
更新时间 2004/11/18

无许可证

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.

引用格式

Kelly Hilands (2025). smooth2 (https://ww2.mathworks.cn/matlabcentral/fileexchange/6298-smooth2), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

启发作品: smoothc.mat, smooth2a

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0