MATLAB: ‘width’ parameter in kdensity function

kedensityparameterwidth

Can somebody plase explain me how to use the 'width' paramater of the kdensity function

Best Answer

I suggest you read the "Bandwidth selection" section of this Wikipedia page: http://en.wikipedia.org/wiki/Kernel_density_estimation.
The width parameter is that bandwidth, and can be adjusted accordingly.
You can see the required syntax in "doc ksdensity".