summaryrefslogtreecommitdiff
path: root/random_plot.m
blob: 802073439b6d9542bcae025ef91b143b928361d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

min_data = min(min(train_data));
max_data = max(max(train_data));

count = zeros(max_data - min_data + 1, 1);

for i = min_data:max_data
	count(i - min_data + 1) = sum(sum(train_data == i));
end

plot(count, '-o')
bar(count)