Ajout de la question 1 de l'exercice 2

This commit is contained in:
2023-05-11 14:12:31 +02:00
parent 44b8120945
commit ffbb029a37
3 changed files with 130 additions and 7 deletions

View File

8
Exo 2/Question1.sce Normal file
View File

@@ -0,0 +1,8 @@
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));