Code covered by the BSD License
function o = compslp(x1,x2,y1,y2,x) % Compute the slope for the interpolation % (c) Yogananda Jeppu yvj_2000@yahoo.com o = ((y2-y1)/(x2-x1))*(x-x1)+y1;
Contact us