summaryrefslogtreecommitdiff
path: root/mean_pred.m
blob: 4cd3e06bdd15ad5abfdfc8eb2c145171c74abf2c (plain)
1
2
3
4
5
6
function pred_mat = mean_pred(price, data)

	days = size(price, 1) - size(data, 1);
	pred_mat = repmat(mean(data), days, 1);

endfunction