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!