フィルターのクリア

Dimensions error on paired t-test?

2 ビュー (過去 30 日間)
shir shalom
shir shalom 2016 年 12 月 20 日
コメント済み: Star Strider 2016 年 12 月 25 日
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 件のコメント
shir shalom
shir shalom 2016 年 12 月 21 日
It has the same result:
C:\Program Files\MATLAB\R2013b\toolbox\stats\stats\ttest.m
Adam
Adam 2016 年 12 月 21 日
The one that is active (not overshadowed) will always be the result of the simpler call though.

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2016 年 12 月 21 日
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 件のコメント
shir shalom
shir shalom 2016 年 12 月 25 日
I contacted them. Thank you so much.
Star Strider
Star Strider 2016 年 12 月 25 日
My pleasure.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGoogle についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by