Actualiser EXO4/scripts/q1.sce

This commit is contained in:
Marco ORFAO 2024-06-17 01:01:20 +02:00
parent 95c166cefa
commit 8398708aac

View File

@ -4,4 +4,6 @@ plot2d(X,Y,-1);
[a,b] = reglin(X',Y'); [a,b] = reglin(X',Y');
y_reg = a*X+b; y_reg = a*X+b;
plot2d(X,y_reg,5); plot2d(X,y_reg,5);
corrcoef(X,Y) corrcoef(X,Y)
xlabel('Salaires');
ylabel('Ages');