Hi dear experts,<br><br>I'm using the function newcrossf() to calculate coherence between two electrodes.<br><br>As optional INPUT parameters I give the following:<br>         type: 'phasecoher'<br>       amplag: []<br>
       subitc: 'off'<br>      shuffle: []<br>      detrend: 'off'<br>        rmerp: 'off'<br>      winsize: 256<br>     timesout: 895<br>     padratio: 1<br>        freqs: [3 40]<br>       nfreqs: 18<br>
    freqscale: 'linear'<br>     baseline: [-2.5039e+003 -3.9063]<br>        alpha: 0.0500<br>        naccu: 200<br>     boottype: 'shuffle'<br>     baseboot: 1<br>     condboot: 'abs'<br>      topovec: [5 9]<br>
        elocs: [1x13 struct]<br>     chaninfo: [1x1 struct]<br>       maxamp: 1<br>        title: 'coherence between, C3 C4'<br><br>And newcrossf returns as OUTPUT:<br>         mcoh: [1x18 single]<br>     timesout: [1x895 double]<br>
     freqsout: [1x18 double]<br>      cohboot: [18x1 double]<br>    cohangles: [18x895 single]<br>     allcoher: [18x895x20 single]<br>       alltfX: [18x895x20 single]<br>       alltfY: [18x895x20 single]<br>          coh: [18x895 single]<br>
<br>Now, I would like to work with the coherence bootstraped but I don't know how to use the cohboot:[18x1] with the coherence matrix coh: [18x895].<br><br>The function help say that:<br>%       cohboot     = Matrix (nfreqs,2) of [lower;upper] coher signif. limits<br>
%                     if 'boottype' is 'trials',  (nfreqs,timesout, 2)<br><br>But I obtain always a Matrix(nfreqs,1) and I'm not able to use it.<br><br>Any suggestion?<br><br>Thank you<br><br>Michele<br>
<br><br><br><br><br><br><br clear="all"><br>-- <br>        -Michele-<br>