summaryrefslogtreecommitdiff
path: root/get_products.m
blob: 11403dc1498baa3aa327fa1992ac2c9e739a43b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function [A,B] = get_products()
	load('-ascii', 'train_noheader.csv');

	A = zeros(42, 570);
	B = zeros(42, 570);
	for i = 1:42
		begin = 570 * (i-1) + 1;
		ende = begin + 569;
		A(i,:) = train_noheader(begin:ende,3)';
		B(i,:) = train_noheader(begin:ende,4)';
	end
endfunction