This is the same as ksr and ksrlin (file File ID: #19195 and #19564), but instead of using the same bandwidth for each point, it uses a variable bandwidth given by the distance of each point to its kth nearest neighbor.
Fernando Duarte (2022). Kernel Regression with Variable Window Width (https://www.mathworks.com/matlabcentral/fileexchange/35316-kernel-regression-with-variable-window-width), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!