SAE_2.04/EXO4/scripts/q1.sce
2024-06-15 19:42:14 +02:00

7 lines
116 B
Scilab

X=csvDouble(:,7)
Y=csvDouble(:,2)
plot2d(X,Y,-1)
[a,b] = reglin(X',Y')
y_reg = a*X+b
plot2d(X,y_reg,5)
corrcoef(X,Y)