Kernelwidth-func
w = kernelwidth( vX ) returns the estimated optimal kernel bandwidth for a given vector vX.
where n is the size of vector vX, and
, is the standard deviation of vX, and IQR is the interquartile range of vX.