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