getDensity(x, Bins)

版本 1.0.0.0 (838 字节) 作者: Ruggero G. Bettinardi
Compute distribution as density
69.0 次下载
更新时间 2017/5/15

查看许可证

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

引用格式

Ruggero G. Bettinardi (2024). getDensity(x, Bins) (https://www.mathworks.com/matlabcentral/fileexchange/62948-getdensity-x-bins), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0