getDensity(x, Bins)
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
Cita come
Ruggero G. Bettinardi (2025). getDensity(x, Bins) (https://it.mathworks.com/matlabcentral/fileexchange/62948-getdensity-x-bins), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Continuous Distributions > Weibull Distribution >
 
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 | 
