When I am using this statement in Matlab in my computer then its giving error as follow:
??? Error using ==> nanmean Too many input arguments. Error in ==> ttest at 104 xmean = nanmean(x,dim);
However if I use the same statement in Matlab in another computer, then its working fine and giving results. Do you know what could be the problem? I am posting this question here suspecting it to be some software problem with Matlab. Correct me if I am wrong.