emprical pmf in matlab

pmf = histcounts(B, [unique(B) Inf],'Normalization','probability');

x = unique(B);
plot(x, pmf);

posted @ 2024-10-14 16:53  ChrainY  阅读(7)  评论(0编辑  收藏  举报