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!