You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Compute density distribution of the values in 'x'.
To check the result: plot(pBins, PDD), xlabel('x'), ylabel('Density')
INPUT
x : vector of values
Bins : Optional: bins used to compute the density. if Bins is not given in the call, the function
will use the default binning, given by: Bins = linspace(min(x), max(x), round(sqrt(length(x))))
OUTPUT
PDD : Probability Density Distribution. [ sum(PDD) == 1 ]
pBins : Return the value of the bins used to compute the distribution
Cite As
Ruggero G. Bettinardi (2026). getDensity(x, Bins) (https://uk.mathworks.com/matlabcentral/fileexchange/62948-getdensity-x-bins), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (838 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
