How to find the band width in ks density plot?

1 view (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 13 Jan 2016
"[f,xi,bw] = ksdensity(_) also returns the bandwidth of the kernel smoothing window, bw."
And to specify the bandwidth:
  3 Comments
Silent Observer
Silent Observer on 13 Jan 2016
can you plz tell me if i want to change the band width?how can i do it?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!