www.gusucode.com > 灰色GM(1,3)神经网络matlab源码程序 > leijian.m

    function [ y ] =leijian( x )
%UNTITLED10 Summary of this function goes here
%   Detailed explanation goes here

n=length(x);
y(1)=x(1);
for i=2:n
    y(i)=x(i)-x(i-1);
end
end