Nadaraya-Watson smoothing
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 (2024). Nadaraya-Watson smoothing (https://www.mathworks.com/matlabcentral/fileexchange/39361-nadaraya-watson-smoothing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing > Smoothing and Denoising >
Tags
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.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 |