Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Is this the correct way to use hist and ranksum..?? Result looks okie but just want to make sure that i am not doing anything wrong in this.
조회 수: 1 (최근 30일)
이전 댓글 표시
for i = 1:size(an_r,3);
ax1(i)= subaxis(3,6,i,'SpacingVert',0.025,'SpacingHoriz',0.02,'Padding', 0, 'Margin', 0.015,'MT',0.03,'MB',0.03);
tmpwint2_r = squeeze(an_r(:,:,i));
tmpwint(:,i) = tmpwint2_r(:);
idx = tmpwint>0;
N = hist(tmpwint(idx));
N = N/sum(N);
bar(N,1.0)
xlim([0 10])
ylim([0 0.80])
end
format long G
[p,h,stats] = ranksum(tmpwint(:,1),tmpwint(:,2))
[p,h,stats] = ranksum(tmpwint(:,2),tmpwint(:,3))
[p,h,stats] = ranksum(tmpwint(:,3),tmpwint(:,4))
[p,h,stats] = ranksum(tmpwint(:,4),tmpwint(:,5))
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!