Hi,
I'm trying to fix a Matlab script to create 2nd-level F-tests that is composed of 1st-level t-tests of respective contrasts for each basis function (canonical HRF, time derivative and dispersion derivative; only one subject group) but am coming up against the following error in spm_reml.m:
Error using ==> eig
Input to EIG must not contain NaN or Inf.
Error in ==> spm_reml at 202
if min(eig(V)) < 0
I didn't set V in my script (V and h are filled only with NaNs during spm_reml) , but I guess I must have not properly defined Vi?
Any suggestions and pointers to what I might be obviously missing/what I should check would be immensely appreciated!
Thanks!!
|