Hi again,
I'm trying also to do a PET analysis using ANALYZE files of my MEG SAM images.
I have been able to run the results with a small number of files (3) and it worked ok. However, when I tried running it with my full sample size (n=15), the PLS analysis gives me this error:
??? Error using ==> svd
NaN or Inf prevents convergence.
Error in ==> pet_analysis_perm at 136
[brainlv,s,behavlv] = svd(stacked_datamatcorrs',0);
Error in ==> <a href="error:C:\MATLAB7\toolbox\pls\pet_analysis.m,331,1">pet_analysis at 331</a>
[brainlv,s,designlv,brainscores,designscores,lvcorrs, ...
Error in ==> pet_analysis_ui>ExecutePLS at 1906
[resultFile, elapsed_time] = pet_analysis(PLSoptions.isbehav, ...
Error in ==> pet_analysis_ui at 114
ExecutePLS;
Any idea why this error is occuring. Like I said, I am running the exact same analysis as I did with only a few subjects, so nothing has really changed in the analysis pipeline. Any ideas?