Ttest function with random numbers
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all,
I have the following problem with the ttest function:
[h, p, ci, stats] = ttest(randn(10,1), randn(10,1), 0.05)
Undefined function or variable 't'.
Error in nanmean (line 7) N = sum(~isnan(t), dim);
Error in ttest (line 131) xmean = nanmean(x,dim);
Anyone knows how to deal with this? Doesn't seem to be related to structure (tried squeeze).
Best regards,
Christian
0 件のコメント
採用された回答
the cyclist
2014 年 11 月 16 日
My best guess is that you have inadvertently defined your own ttest function. What do you get if you type
which -all ttest
?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!