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