MATLAB: How to find the band width in ks density plot

ks density plot

I made a ks density plot for my random variable velocity data. How can i know the default band width and then change the band width and study the effect on my plot?

Best Answer

"[f,xi,bw] = ksdensity(_) also returns the bandwidth of the kernel smoothing window, bw."
And to specify the bandwidth:
Related Question