MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]hist(a) (https://www.labfans.com/bbs/showthread.php?t=5937)

yin 2008-12-19 12:22

[求助]hist(a)
 
hist(y)这样来解释:把Y中的元素放入等距的10个条形中,且返回每一个条形中的元素的个数。若Y为矩阵,按列对Y处理
a=magic(4)
a =
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
hist(a)
我用上述命令得到得不是10个条形图呀?[:cry:


所有时间均为北京时间。现在的时间是 13:43

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.