summaryrefslogtreecommitdiff
path: root/get_products.m
blob: b861e158a3c1809bbc033e672622f67313c90761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function [A,B] = get_products()
	load 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