Inter_cal.m function y=Inter_cal(x0,y0,x1,y1,x) % 起始:x0—>y0;终止:x1—>y1 求:(x—>y)的y y=((x-x0).*(y1-y0))./(x1-x0)+y0; end 功能