假设已知的数据点来自函数f(x)=(-3x5)sinx试根据生成的数据进行插值处理得出较平滑的曲线x=0:.12:1y=(5).exp(-5x).sin(x)x1=0:.02:1y0=(5).exp(-5x1).sin(x1)y1=interp1(xyx1)y2=interp1(xyx1pchip)plot(x1[y1y2]:xyx1y0)x=0:.01:1y=(5).exp(-5x).si