From 0cb152041b0f658e9acd7cbfac19509c037a7366 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 12 May 2012 14:00:53 +0200 Subject: get_products: Use better variable names --- get_products.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'get_products.m') 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 -- cgit