what is the difference between a histogram and pdf.
22 次查看(过去 30 天)
显示 更早的评论
i am trying to understand the difference between pdf and histogram.i want to use an algorithm to plot a bernoulli from a pdf using matlab
0 个评论
回答(1 个)
TheNovice
2015-3-1
A pdf is a function that describes the probability that a random variable will take a certain value.
A histogram shows the probability that a random variable will take an interval of values. See the histogram as a way of estimating the pdf if it is unknown.
Regards. TheNovice
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!