SAE_S2.04/Exo2/Question1.sce

9 lines
172 B
Scilab

data = csvRead("data/data.csv");
//Homme
u = find (data(:,11) >=0);
moyenneHomme = mean(data(u, 11));
//Femme
v = find (data(:,12) >=0);
moyenneFemme = mean(data(u, 12));