function pred_mat = mean_pred(data, days) pred_mat = repmat(mean(data), days, 1); endfunction