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

    function [ x1 ] = leijia( x )
%UNTITLED8 Summary of this function goes here
%   Detailed explanation goes here
n=length(x);
for i=1:n
    x1(i)=sum(x(1:i));
end

end