Dimensions error on paired t-test?
2 views (last 30 days)
Show older comments
shir shalom
on 20 Dec 2016
Commented: Star Strider
on 25 Dec 2016
Hi all, I try to perform a paired t-test like that:
a=[1;2;3]
b=[10;20;30]
h = ttest(a,b)
and I get the following error message:
"Dimension argument must be a positive integer scalar within indexing range"
Does anyone know what's wrong?
Thanks, shir
6 Comments
Adam
on 21 Dec 2016
The one that is active (not overshadowed) will always be the result of the simpler call though.
Accepted Answer
Star Strider
on 21 Dec 2016
Since you’re obviously not overshadowing, see if you have a path problem. The way to solve that is to run these two lines:
restoredefaultpath
rehash toolboxcache
6 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!