MATLAB Answers

ksdensity with local bandwidths

3 views (last 30 days)
Mohamed Elhashash
Mohamed Elhashash on 21 Nov 2020
Commented: Mohamed Elhashash on 27 Nov 2020
ksdensity function uses only one global bandwidth for 1D data. I want to modify this function to accept a vector of local bandwdiths.

  0 Comments

Sign in to comment.

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!

Community Treasure Hunt

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

Start Hunting!