フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

2 way ttest in matlab not showing results

1 回表示 (過去 30 日間)
Adrienne
Adrienne 2014 年 5 月 18 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
T = [SJ SJ SJ CM CM SJW; CM SJW CMW SJW CMW CMW]';
% Creates a matrix with the jump type numbers, so that each type is compared to the other
for ii=1:6
[Ttestmjh(ii,1) Ttestmjh(ii,2)] = ttest2((jhmn(:,T(ii,1))),(jhmn(:,T(ii,2))));
% Runs a 2 tailed t-test on the mean jump height for each jump type
[Ttestsdjh(ii,1) Ttestsdjh(ii,2)] = ttest2((sdjh(:,T(ii,1))),(sdjh(:,T(ii,2))));
% Runs a 2 tailed t-test on the sdev jump height for each jump type
end
my ttest runs but produces no actual data in the matrix of Ttestmjh and Ttestsdjh that I had made at the top of my code.
the T value produces the right matrix.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by