<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/12/2012 9:47 AM, "Jörn M.
Horschig" wrote:<br>
</div>
<blockquote cite="mid:50C844A9.6080002@donders.ru.nl" type="cite">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).</blockquote>
<br>
It should of course say it does *not* work like a usual Matlab
function :) you can call it like this:<br>
<i><small><br>
spm_smooth(srcmatrix, srcmatrix, 1); % call-by-reference ,
2x2x2 gaussian kernel, 3D matrix as input<br>
<br>
</small></i>Again, note that srcmatrix will be changed afterwards,
no way to revert it back.<br>
<br>
Best,<br>
Jörn<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>