离散数据积分
function result = integral(x,y,c)
result = [];
for i=1:1:length(y)
c=y(i)*(x(2)-x(1))+c ;
result(end+1)
离散数据积分
function result = integral(x,y,c)
result = [];
for i=1:1:length(y)
c=y(i)*(x(2)-x(1))+c ;
result(end+1)