On Oct 7, 2013 9:51 AM, "dandil dNd" <[log in to unmask]> wrote: > Hi everyone, I am trying to do "New segment" using alternate TPM with 198 > slices in z direction. When I ran new segment there is an error: > > > Warning: Matrix is singular, close to singular or badly scaled. > Results may be inaccurate. RCOND = NaN. > > In expm>PadeApproximantOfDegree at 123 > In expm at 39 > In spm_maff8>P2M at 282 > In spm_maff8>affreg at 242 > In spm_maff8 at 27 > In spm_preproc_run>run_job at 83 > In spm_preproc_run at 30 > In tbx_cfg_preproc8>spm_local_preproc_run at 363 > In matlabbatch\private\cfg_run_cm at 29 > In cfg_util>local_runcj at 1510 > In cfg_util at 830 > In cfg_ui>MenuFileRun_Callback at 1226 > In gui_mainfcn at 96 > In cfg_ui at 53 > Failed 'New Segment' > Error using ==> schur > Input to SCHUR must not contain NaN or Inf. > In file "C:\Program Files\MATLAB\R2008a\toolbox\matlab\matfun\sqrtm.m" > (???), function "sqrtm" at line 33. > In file "D:\SPM8\spm8\toolbox\Seg\spm_maff8.m" (v4152), function "M2P" at > line 250. > In file "D:\SPM8\spm8\toolbox\Seg\spm_maff8.m" (v4152), function "affreg" > at line 111. > In file "D:\SPM8\spm8\toolbox\Seg\spm_maff8.m" (v4152), function > "spm_maff8" at line 27. > In file "D:\SPM8\spm8\toolbox\Seg\spm_preproc_run.m" (v4334), function > "run_job" at line 84. > In file "D:\SPM8\spm8\toolbox\Seg\spm_preproc_run.m" (v4334), function > "spm_preproc_run" at line 30. > In file "D:\SPM8\spm8\toolbox\Seg\tbx_cfg_preproc8.m" (v4337), function > "spm_local_preproc_run" at line 363 > > could anybody help me? >