topoplot error

thomas gilbertson gilbertson.thomas at GOOGLEMAIL.COM
Mon Jan 21 19:12:05 CET 2008


hi robert,

a belated reply. appologies in advance if i have made some really simple
mistake here but ive tryed what you suggested and am struggling to implement
it successfully. heres what ive done so far:-


% here is the variable to multiply mri.tranform with (from volumenormalise)

initial = [

0.0000 -1.0000 0.0000 0.0000

0.9987 0.0000 -0.0517 -32.0000

0.0517 0.0000 0.9987 -54.0000

0.0000 0.0000 0.0000 1.0000 ];

% mri is the imported mri

mri.transform =

2 0 0 -92

0 2 0 -128

0 0 2 -74

0 0 0 1

% multiply with the inverse of initial and include in the
interpolated source array

interp.transform = mri.transform.*initial';

% run volume normalise

cfg=[];

cfg.coordinates = 'ctf';

interpN = volumenormalise(cfg, interp);

% and i get the following error;

??? Error using ==> colon

Maximum variable size allowed by the program is exceeded.

Error in ==> spm_smoothto8bit>smoothto8bit at 36

x = -r{i}.s:r{i}.s;

ive truncated the error for brevity.

thanks for your patience with this.

best wishes,

tom.

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20080121/0b5917f5/attachment-0001.html>


More information about the fieldtrip mailing list