[Eeglablist] NewCrossf -- bootstrap

Michele Barsotti nomeserio at gmail.com
Thu Aug 23 07:56:42 PDT 2012


Hi dear experts,

I'm using the function newcrossf() to calculate coherence between two
electrodes.

As optional INPUT parameters I give the following:
         type: 'phasecoher'
       amplag: []
       subitc: 'off'
      shuffle: []
      detrend: 'off'
        rmerp: 'off'
      winsize: 256
     timesout: 895
     padratio: 1
        freqs: [3 40]
       nfreqs: 18
    freqscale: 'linear'
     baseline: [-2.5039e+003 -3.9063]
        alpha: 0.0500
        naccu: 200
     boottype: 'shuffle'
     baseboot: 1
     condboot: 'abs'
      topovec: [5 9]
        elocs: [1x13 struct]
     chaninfo: [1x1 struct]
       maxamp: 1
        title: 'coherence between, C3 C4'

And newcrossf returns as OUTPUT:
         mcoh: [1x18 single]
     timesout: [1x895 double]
     freqsout: [1x18 double]
      cohboot: [18x1 double]
    cohangles: [18x895 single]
     allcoher: [18x895x20 single]
       alltfX: [18x895x20 single]
       alltfY: [18x895x20 single]
          coh: [18x895 single]

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].

The function help say that:
%       cohboot     = Matrix (nfreqs,2) of [lower;upper] coher signif.
limits
%                     if 'boottype' is 'trials',  (nfreqs,timesout, 2)

But I obtain always a Matrix(nfreqs,1) and I'm not able to use it.

Any suggestion?

Thank you

Michele








-- 
        -Michele-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20120823/833dbb30/attachment.html>


More information about the eeglablist mailing list