mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
6 lines
136 B
Mathematica
6 lines
136 B
Mathematica
|
data = dlmread("/dev/stdin", " ");
|
||
|
coeffs = data(1:end, 1:5);
|
||
|
costs = data(1:end, 6);
|
||
|
[beta, sigma, r] = ols(costs, coeffs);
|
||
|
disp(beta)
|