[FieldTrip] ROI selection in a GC analysis

"Jörn M. Horschig" jm.horschig at donders.ru.nl
Wed Dec 12 10:03:15 CET 2012


On 12/12/2012 9:47 AM, "Jörn M. Horschig" wrote:
> Note that this function is does work like the usual Matlab function in 
> that it does not produce an output argument but rather changes the 
> input argument inherently (in more technical terms: call-by-reference 
> rather than call-by-value).

It should of course say it does *not* work like a usual Matlab function 
:) you can call it like this:
/
   spm_smooth(srcmatrix, srcmatrix, 1); % call-by-reference  , 2x2x2 
gaussian kernel, 3D matrix as input

/Again, note that srcmatrix will be changed afterwards, no way to revert 
it back.

Best,
Jörn




-- 
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20121212/cbb349cc/attachment-0002.html>


More information about the fieldtrip mailing list