摘要
灰色GM(1,1)预测模型是灰色理论中的重要组成部分,也是主要的预测方法之一.因此,GM(1,1)模型的应用范围很广泛.本文简要介绍了GM(1,1)模型的原理及其预测步骤,用MATLAB软件实现了GM(1,1)预测算法并给出了源代码.在此基础上,用统计年鉴上的住宿和餐饮业收入增加值数据进行了仿真,从而验证了该算法的有效性和程序的正确性。
GM( 1,1 ) is an important part of grey theory, and it is also one of the mainly forecasting models. So, the GM(1,1) has been applied to many fields. This paper introduces briefly the principle and the forecasting steps of GM ( 1,1 ), realizes the GM( 1, 1) prediction algorithm, and gives some source codes using MATLAB. On'this basis, a simulation is made on the added value of income of hotel and catering industries in statistical yearbook to validate the algorithm effectiveness and the program correctness.