Nadaraya-Watson smoothing

A non-parametrical regression (smoothing) tool using Gaussian kernel.

You are now following this Submission

The advantage of this smoothing function is that it doesn't need any parameters - it finds the optimal parameters by itself. And still the calculation takes just a second for 100 samples.

This code implements Nadaraya-Watson kernel regression algorithm with Gaussian kernel. The optimal setting of the regression is derived by closed form leave-one-out cross-validation.

Cite As

Jan Motl (2026). Nadaraya-Watson smoothing (https://ch.mathworks.com/matlabcentral/fileexchange/39361-nadaraya-watson-smoothing), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Improved help text.

1.7.0.0

Vectorised.

1.6.0.0

The function description was truncated and some tags added.

1.5.0.0

Screen-shot was added (2).

1.4.0.0

Removed __MACOSX file from the archive.

1.3.0.0

Screen-shot was added.

1.0.0.0