kernelfunc

Function calculates the kernel function for array x

You are now following this Submission

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 .

Acknowledgements

Inspired: mccrary

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Editorial changes, switch instead of if to select type

1.0.1

Improved descriptions and commenting

1.0.0