hist command equivalent in java
1 次查看(过去 30 天)
显示 更早的评论
Hi i am new to matlab, i need a help. I got a matlab code which uses hist command, i am porting the code to java, is there any equivalent code in java or can anyone give the logic behind hist command i can write it in java or c. Thanks in advance.
5 个评论
Walter Roberson
2013-7-1
Do your bins happen to be equally spaced? And if they are, then is acceptable if samples within round-off error of the bin edges might be misclassified ?
回答(1 个)
Image Analyst
2013-6-30
To construct the histogram an important step is to decide where to put the edges of the bins. To see the code do this:
>> edit hist.m
You can see edges mentioned in several places. Then translate the code into Java or C, whichever you decide on.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!