-
Notifications
You must be signed in to change notification settings - Fork 9
dist
Computes an approximation of the distribution of data values.
Returns a function which approximates the distribution of the data values in Y. For that Y is binned into nbins equally spaced containers. The approximation uses nParameters parameters to describe the data.
Argument Y
Matrix
Argument nbins
Scalar
Argument nParameters
Scalar
Returns 1. entry
Function
dist([randn(500, 1); randn(1000, 1) + 5], 40, 10)
Returns an approximate of the distribution of the data (two gaussians centered at 0 and 5 and relative height 1:2) binned in 40 bins and with 10 parameters.
Returns a function which approximates the distribution of the data values in Y. For that Y is binned into nbins equally spaced containers. The approximation uses nParameters parameters to describe the data.
Argument Y
Matrix
Returns 1. entry
Function
dist([randn(500, 1); randn(1000, 1) + 5])
Returns an approximate of the distribution of the data (two gaussians centered at 0 and 5 and relative height 1:2) binned in about sqrt(1500) bins and about log(1500) parameters.