What is the 'bandwidth' parameter in mvksdensity function?

  • What is the 'bandwidth' parameter in mvksdensity function?
  • Bandwidth implies kernel width in terms of what quantity? Is it in the form of radius or data points or how do you quantify it?
  • Is optimal bandwidth provided for more than one-dimensional data?
  • Can this function be used in the form of spatial kernel density estimation for images? If yes, how?

 Accepted Answer

  • What is the bandwidth parameter in mvksdensity function?
It is the bandwidth of the kernel smoothing window. You can find more information in the link below:
  • Bandwidth implies kernel width in terms of what quantity? Is it in the form of radius or data points or how do you quantify it?
This is the distance in each coordinate direction. There is a separate width for each coordinate, though you can specify it as a scalar if you want the same value for each. See the description on the page linked above.
  • Is optimal bandwidth provided for more than one-dimensional data?
Bandwidth is a mandatory argument and can be chosen based on Silverman’s rule of thumb as described in the link below.
  • Can this function be used in the form of spatial kernel density estimation for images? If yes, how?
This function is aimed at scattered points and estimating their distribution. An image is a set of pixel values at regular points. This function does not do anything like kernel smoothing of the pixel values of an image.

More Answers (0)

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!