1 2 3 4 5
function pred_mat = mean_pred(data, days) pred_mat = repmat(mean(data), days, 1); endfunction