function y=Spline() x0=[2010 2011 2012 2013 2014 2015 2016 2017]; y0=[41462 28969 32251 47694 32265 27819 33539 36994 ];%VA y=interp1(x0,y0,x,'spline');%三次样条插值