smoothn

Smooths N-D input data using 'box' or 'gaussian' filter using a specified convolution kernel.
7.3K Downloads
Updated 25 Nov 2001

No License

SMOOTHN Smooth N-D data
Y = SMOOTHN(X, SIZE) smooths input data X. The smoothed data is
retuirned in Y. SIZE sets the size of the convolution kernel
such that LENGTH(SIZE) = NDIMS(X)

Y = SMOOTHN(X, SIZE, FILTER) Filter can be 'gaussian' or 'box' (default)
and determines the convolution kernel.

Y = SMOOTHN(X, SIZE, FILTER, STD) STD is a vector of standard deviations
one for each dimension, when filter is 'gaussian' (default is 0.65)

See also SMOOTH3

(It is an extension of Mathworks' SMOOTH3 from 3 to N dimensions)

Cite As

Anil Gannepalli (2024). smoothn (https://www.mathworks.com/matlabcentral/fileexchange/725-smoothn), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: fast running mean

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0