ksdensity with local bandwidths

ksdensity function uses only one global bandwidth for 1D data. I want to modify this function to accept a vector of local bandwdiths.

Answers (1)

Shubham Rawat
Shubham Rawat on 27 Nov 2020
Hi Mohamed,
You can refer to this link on how to set the bandwidth in ksdensity function in MATLAB.
Hope this Helps!

Asked:

on 21 Nov 2020

Commented:

on 27 Nov 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!