summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 10:44:15 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 10:44:15 +0200
commit866a74cca5b51a4abf1019dde1d7210191bb9276 (patch)
tree9b6d6a75061c46e7e40fa057c16e2b8b6e30af6c
parentf2a79a62c010a4a960c4456d50c69d604fd7ee08 (diff)
downloaddmc-866a74cca5b51a4abf1019dde1d7210191bb9276.tar.gz
dmc-866a74cca5b51a4abf1019dde1d7210191bb9276.tar.bz2
dmc-866a74cca5b51a4abf1019dde1d7210191bb9276.zip
regress_pred: No need to embed regress
-rw-r--r--regress_pred.m6
1 files changed, 0 insertions, 6 deletions
diff --git a/regress_pred.m b/regress_pred.m
index 0ba8394..0c66b1e 100644
--- a/regress_pred.m
+++ b/regress_pred.m
@@ -13,9 +13,3 @@ function pred = regress_pred(price, quantity)
end
endfunction
-
-function [m, n] = regress(x, y)
- mn = [ x ones(length(x), 1) ] \ y;
- m = mn(1);
- n = mn(2);
-endfunction