how can compute a marginal distribution?
显示 更早的评论
ihave a matrix with 60 rows and 5 coloumns an iwant tocompute the marginal distribution
10 个评论
Torsten
2022-5-18
And the matrix is the joint probability matrix A with sum(sum(A)) = 1 ?
RADWAN A F ZEYADI
2022-5-18
Torsten
2022-5-18
Then you will have to explain in more detail what your matrix represents.
RADWAN A F ZEYADI
2022-5-19
RADWAN A F ZEYADI
2022-5-19
Torsten
2022-5-19
Seriously:
If someone told you he/she has a matrix with 60 rows and 5 columns for three properties and he/she wants to estimate the probabilty of the marginal distribution, would you be able to understand what he/she means ? How the matrix is related to the three properties ? What the entries of the matrix are ? What the rows and columns of the matrix represent ?
RADWAN A F ZEYADI
2022-5-19
Bjorn Gustavsson
2022-5-19
Would histogram along each property and at each altitude be what you're looking for? Your question is not clear enough for me to fully understand either.
RADWAN A F ZEYADI
2022-5-19
回答(1 个)
Bjorn Gustavsson
2022-5-19
编辑:Bjorn Gustavsson
2022-5-19
0 个投票
Look at the help and documentation for the histogram-function. Possibly also check the histogram2.
HTH
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!