首页 > 其他 > 详细

matlab画频率分布直方图

时间:2020-08-01 21:59:06      阅读:443      评论:0      收藏:0      [点我收藏+]
Generate 10,000 random numbers and create a histogram. The histogramfunction automatically chooses 
an appropriate number of bins to cover the range of values in x and show the shape of the
underlying distribution.
x = randn(10000,1);
h = histogram(x)

randn(100001)产生10 000个均值技术分享图片0,标准差技术分享图片1的正态分布随机数。

技术分享图片

 

matlab画频率分布直方图

原文:https://www.cnblogs.com/yibeimingyue/p/13416042.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!