MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何在Matlab中获取直方图数据 (https://www.labfans.com/bbs/showthread.php?t=23554)

poster 2019-12-10 20:41

如何在Matlab中获取直方图数据
 
众所周知,Matlab中的“ hist”函数可绘制数组的直方图。我需要知道每个垃圾箱的数值。请问你能帮帮我吗?

谢谢



[B]回答:[/B]

指定[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hist.html"]hist[/URL]的输出。

[h,bins]=hist(data) 会得到你想要的东西。



[url=https://stackoverflow.com/questions/3096391]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:05

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