How can I make that using MATLAB
显示 更早的评论
回答(1 个)
Walter Roberson
2021-10-10
编辑:Walter Roberson
2021-10-10
0 个投票
Probability for discrete events is number of elements (events) that a condition holds for, times the probability of the event, divided by total weight. Total weight of that matrix is 1.
For example, the entire first row is associated with X = 1, and 1 <= 1 1/2, so take the weights of the first row, 1/12 + 1/16 + 1/12 = 1/6 . None of the entries in the second or third row matches, so nothing is added for those rows. Total probability is (1/6) divided by (1) where the (1) is the total weight for the matrix.
类别
在 帮助中心 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
