Actualiser EXO4/scripts/q1.sce
This commit is contained in:
parent
95c166cefa
commit
8398708aac
@ -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');
|
Loading…
Reference in New Issue
Block a user