2024-06-16 18:16:00 +02:00
|
|
|
indice_high = find(csvDouble(:,4) == 0 );
|
|
|
|
salaire_high = csvDouble(indice_high,7);
|
|
|
|
moy_h = mean(salaire_high);
|
2024-06-09 17:36:56 +02:00
|
|
|
|
|
|
|
|
2024-06-16 18:16:00 +02:00
|
|
|
indice_b = find(csvDouble(:,4) == 1 );
|
|
|
|
salaire_b = csvDouble(indice_b,7);
|
|
|
|
moy_b = mean(salaire_b);
|
2024-06-14 20:33:54 +02:00
|
|
|
|
|
|
|
|
2024-06-16 18:16:00 +02:00
|
|
|
indice_m = find(csvDouble(:,4) == 2 );
|
|
|
|
salaire_m = csvDouble(indice_m,7);
|
|
|
|
moy_m = mean(salaire_m);
|
2024-06-14 20:33:54 +02:00
|
|
|
|
|
|
|
|
2024-06-16 18:16:00 +02:00
|
|
|
indice_p = find(csvDouble(:,4) == 3);
|
|
|
|
salaire_p = csvDouble(indice_p,7);
|
|
|
|
moy_p = mean(salaire_p);
|
2024-06-14 20:33:54 +02:00
|
|
|
|
|
|
|
|
2024-06-16 18:16:00 +02:00
|
|
|
matrice = [moy_h,moy_b,moy_m,moy_p];
|
|
|
|
bar([0,1,2,3],matrice);
|
2024-06-09 17:36:56 +02:00
|
|
|
|
|
|
|
xlabel("Niveau d''études");
|
|
|
|
ylabel("Salaire moyen");
|
|
|
|
title("Salaire moyen par niveau d''études");
|