diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-11 10:44:15 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-11 10:44:15 +0200 |
commit | 866a74cca5b51a4abf1019dde1d7210191bb9276 (patch) | |
tree | 9b6d6a75061c46e7e40fa057c16e2b8b6e30af6c | |
parent | f2a79a62c010a4a960c4456d50c69d604fd7ee08 (diff) | |
download | dmc-866a74cca5b51a4abf1019dde1d7210191bb9276.tar.gz dmc-866a74cca5b51a4abf1019dde1d7210191bb9276.tar.bz2 dmc-866a74cca5b51a4abf1019dde1d7210191bb9276.zip |
regress_pred: No need to embed regress
-rw-r--r-- | regress_pred.m | 6 |
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 |