2012-12-03 2 views
-1

이미 히스토그램이 있으며 hist 대신 histc을 사용하고 싶습니다. 나중에 나중에 빈의 중심 값을 제공합니다."histc"사용 중 오류 - matlab

나는 다음과 같은 명령을 실행하면 왜 그

??? Error using ==> histc 
Not enough input arguments. 

이다 : 나는 다음과 같은 오류가

>> [h, bins] = histc(H) 

를? 어떻게해야합니까?

감사합니다. (matlab에 도움말) : 상부 및 하부 경계는 각각 2, 4 곳

N = histc(X,EDGES), for vector X, counts the number of values in X 
that fall between the elements in the EDGES vector (which must contain 
monotonically non-decreasing values). N is a LENGTH(EDGES) vector 
containing these counts. 

자사가 [2 4] 같은 즉, 두 개의 긴 배열이

+0

내가 당신의 문제를 도왔는지 궁금하십니까? upvote 내 대답/올바른 표시? –

답변

0

당신은 변수 가장자리를 포함해야합니다.