/GM_1_1

A gray model predict GM(1,1) implementation, if you wanna know gray model prediction,google please!!

Primary LanguageC

GM_1_1

The program output is: X0: 2.670000 3.130000 3.250000 3.360000 3.560000 3.720000

X1: 2.670000 5.800000 9.050000 12.410000 15.970000 19.690000

B: -4.235000 1.000000 -7.425000 1.000000 -10.730000 1.000000 -14.190000 1.000000 -17.830000 1.000000

Y: 3.130000 3.250000 3.360000 3.560000 3.720000

a=-0.043961 u=2.925617

model gen value x1: 2.670000 5.780870 9.031547 12.428315 15.977739 19.686680 23.562306

X0 is the original data. X1 is the processed data. a,u is the prediction system params. model gen value x1 is the reconstructed data, and one predict data.

in order to get the original data, you need to convert processed data.