matlab histfit(data,nbins,dist)直方图拟合

 

rng default; % For reproducibility
r = normrnd(10,1,100,1);
figure
histfit(r)

rng default;  % For reproducibility
r = betarnd(3,10,100,1);
figure
histfit(r,10,'beta')

 

posted on 2021-09-18 16:01  那抹阳光1994  阅读(718)  评论(0编辑  收藏  举报

导航