I want to design a function that satisfies the following:
generally speaking, $f(x) = y$
$f(5.51) = 1$ $f(95.31) = 200$
How can I go about designing the function to satisfy these requirements?
I want to design a function that satisfies the following:
generally speaking, $f(x) = y$
$f(5.51) = 1$ $f(95.31) = 200$
How can I go about designing the function to satisfy these requirements?
If you want a function of the form $f(x)=a e^{bx}$ then simply solve for $a$ and $b$ using your data points.
If you want a polynomial function of degree $n$ then you'll need $n+1$ data points. With two data points, you get a polynomial of degree 1 (at most).