7 lines
210 B
Scilab
7 lines
210 B
Scilab
|
indice_b = find(csvDouble(:,4) == 1 )
|
||
|
salaire_b = csvDouble(indice_b,7)
|
||
|
exp_b = csvDouble(indice_b,6)
|
||
|
plot2d(salaire_b,exp_b,-1)
|
||
|
[a,b] = reglin(salaire_b',exp_b')
|
||
|
y_reg = a*salaire_b+b
|
||
|
plot2d(salaire_b,y_reg,5)
|