GM(1,1)灰色预测模型y=input('请输入数据');%输入数据请用如例所示形式:[48.757.1768.7692.15]n=length(y);y0=ones(n,1);y0(1)=y(1);fori=2:ny0(i)=y0(i-1)+y(i);end