mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-12-25 05:14: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)
|