Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
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 visualizzazione (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
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 Commenti
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!