Can you please clarify the variable "ni"?
the following command:
[M,Y,ni] = sortData(M,1,Y,sID);
results in:
??? Error: File: sortData.m Line: 59 Column: 6
Expression or statement is incorrect--possibly unbalanced (, {, or [.
do i need to build "ni" ahead of time?
You probably don't need to know this, but I am using data generated by Freesurfer version 5.1, on matlab 7.8.0 (R2009a), which I gather will cause a few problems further down the line.
Thank you for your help,
-Eric