Effacer les filtres
Effacer les filtres

Dimensions error on paired t-test?

2 vues (au cours des 30 derniers jours)
shir shalom
shir shalom le 20 Déc 2016
Commenté : Star Strider le 25 Déc 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 commentaires
shir shalom
shir shalom le 21 Déc 2016
It has the same result:
C:\Program Files\MATLAB\R2013b\toolbox\stats\stats\ttest.m
Adam
Adam le 21 Déc 2016
The one that is active (not overshadowed) will always be the result of the simpler call though.

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 21 Déc 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
That should solve path problems. If this doesn’t work, contact MathWorks Technical Support.
  6 commentaires
shir shalom
shir shalom le 25 Déc 2016
I contacted them. Thank you so much.
Star Strider
Star Strider le 25 Déc 2016
My pleasure.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Google dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by