summaryrefslogtreecommitdiff
path: root/50/DEPENDENCIES/linearinterpol.sci
blob: a6c10cbc54de1cbefdc5f31fca8d0a1e652fb213 (plain)
1
2
3
function fp=linearinterpol(xL,f)
    fp=(f(2)-f(1))/(xL(2)-xL(1));
endfunction;