kernelfunc

Function calculates the kernel function for array x
93 Downloads
Updated 3 May 2020

View License

Implemented kernels are: box (aka rectangular or uniform), triangular, epanechnikov (aka epanech, parabolic), gaussian (aka normal), triweight, tricube, cosine, logistic, sigmoid, silverman.

References:
Wikipedia (2020) Kernel (statistics). URL: https://en.wikipedia.org/wiki/Kernel_(statistics), last retrieved on 02-05-2020

Cite As

Jorma Schäublin (2026). kernelfunc (https://www.mathworks.com/matlabcentral/fileexchange/75320-kernelfunc), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: mccrary

Version Published Release Notes
1.0.2

Editorial changes, switch instead of if to select type

1.0.1

Improved descriptions and commenting

1.0.0