When I am using this statement in Matlab in my computer then its giving error as follow:

```
[h,p,ci]=ttest(randn(100,1),0.1)
```

Error:

```
??? 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.