smoothn

Smooths N-D input data using 'box' or 'gaussian' filter using a specified convolution kernel.

You are now following this Submission

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 (2026). smoothn (https://uk.mathworks.com/matlabcentral/fileexchange/725-smoothn), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: fast running mean

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0