summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-12 14:00:53 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-12 14:00:53 +0200
commit0cb152041b0f658e9acd7cbfac19509c037a7366 (patch)
treeab0f6e26b75b2bb9128c7d64f7e5767fd80493f5
parent52f959aad90f9d118f6d23ee2d81c98770104074 (diff)
downloaddmc-0cb152041b0f658e9acd7cbfac19509c037a7366.tar.gz
dmc-0cb152041b0f658e9acd7cbfac19509c037a7366.tar.bz2
dmc-0cb152041b0f658e9acd7cbfac19509c037a7366.zip
get_products: Use better variable names
-rw-r--r--get_products.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/get_products.m b/get_products.m
index 86668de..070330f 100644
--- a/get_products.m
+++ b/get_products.m
@@ -1,7 +1,7 @@
-function [A,B] = get_products()
+function [p, q] = get_products()
load('-ascii', 'train_noheader.csv');
load('-ascii', 'class_noheader.csv');
- A = reshape([train_noheader(:,3); class_noheader(:,3)], 570, [])';
- B = reshape( train_noheader(:,4), 570, [])';
+ p = reshape([train_noheader(:,3); class_noheader(:,3)], 570, [])';
+ q = reshape( train_noheader(:,4), 570, [])';
endfunction