I'm evaluating an integral and the function in the integral is another function as following.
$$\int_0^{\infty} e^{(-0.028559\cdot t)} \frac{l(x+t)}{l(x)} dt$$
Now I have created the values of $l(x)$ in Excel for ages $x=74$ to $x=106$, because Excel is (very) limited I want to do the integral in Matlab. I have found solution on how to calculate integrals in Matlab, but not with a function inside the integral like this. I will in next stage calculate the function $l(x)$ in Matlab too. I hope there is a kind soul out there that could help me.
m
interp1to interpolate between your discrete values of $l(x)$. See my answer to this question. – horchler Mar 11 '17 at 22:03