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.

回答 (1 件)

Shubham Rawat
Shubham Rawat 2020 年 11 月 27 日

0 投票

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

質問済み:

2020 年 11 月 21 日

コメント済み:

2020 年 11 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by