open-discussion > RE: Error
Aug 11, 2016  05:08 PM | Jerry Zhu
RE: Error
Thanks a lot for the code snippet, Ralf. You are awesome!


also the initial source of info
http://marsbar.sourceforge.net/faq.html#...


There is also a function called autocorr from econ toolbox. Type "which autocorr" to see which autocorr is working.
if necessary, one can copy @mardo_2/autocorr.m 

Originally posted by Ralf Veit:
Hi,

this error was reported several times in the marsbar forum. Matthew Brett suggested to use K. Worsleys fmristat instead of the autocorrelation implementation in SPM. For that you must insert the following code in the file basco_checkestimation on line 16.

D = autocorr(D, 'fmristat', 2);

I have also noticed that sometimes I get the error "Check number of ROIs in txt-file"
I changed line 225 in BASCO.m from
if length(thenames)~=ROINum
to
if size(thenames,1)~=ROINum

and it worked.

Best
Ralf

Threaded View

TitleAuthorDate
Caron Clark May 10, 2016
Ralf Veit Jul 21, 2016
Lisanne Jenkins Nov 28, 2016
RE: Error
Jerry Zhu Aug 11, 2016
jean valjean Jul 18, 2016