Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

2 way ttest in matlab not showing results

1 visualización (últimos 30 días)
Adrienne
Adrienne el 18 de Mayo de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by