Hi,
I am running into a similar problem running the NODDI analysis on my system for some spinal cord data. It stops right in the beginning of the script and halts the process after the error. I am just testing out the protocol in a small mask.
>> batch_fitting('NODDI_roi.mat', protocol, noddi, 'FittedParams.mat', 4);
78 of voxels to fit
Error using parallel_function (line 589)
Input to SVD must not contain NaN or Inf.
Error stack:
pinv.m at 29
FitLinearDT.m at 35
GridSearchRician.m at 57
ThreeStageFittingVoxel.m at 66
batch_fitting>(parfor body) at 95
Error in batch_fitting (line 88)
parfor i=split_start:split_end
When I look through my data I cannot find any particularly strange voxels and when I load the NODDI_roi.mat in matlab I cannot find any inf or NA elements in the or matrix. Where do you recommend me to start looking for potential errors in my data?
When running the analysis I follow the exact steps outlined on the website. Thanks very much for making this analysis publicly available and providing this forum for discussion, much appreciated!
Best Regards
Emil Ljungberg
UBC