Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
Sophia
Sophia le 28 Juin 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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))

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by