the function is used to compute hoeffdingsD measure,but the performance of my function is poor. when i use it in my code ,it usually cost several days.who can help me ,or compile it .

 채택된 답변

Andrew Newell
Andrew Newell 2017년 4월 22일

1 개 추천

One source of delays can be repmat. This can be replaced by a suitable choice of index, as in the following:
r = R(i,:);
r = r(ones(N,1),:);
See Matlab Indexing and Repmat Replacement for a discussion of this issue.
That said, it may be too much to expect a really fast implementation of this algorithm, judging by this discussion of the algorithm.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 循环及条件语句에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2017년 4월 22일

편집:

2017년 4월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!