I have a set of (Y) data $\left\{y_1, y_2, ..., y_n \right\}$ and a set of (X) $\left\{x_1, x_2, ..., x_n \right\}$ which I use to build a graph. I need to place a logarithmic trendline over the graph, and in order to do that I need to calculate its parameters.
$$y = c·ln(x) - b$$
Thus I need a formula to calculate (c) and (b) based on (X) and (Y).
I'm ultra knew to this level of math, and I know that there's a software to do that, but I just want to understand how it works. Thank you in advance!
I found the answer here:
Weisstein, Eric W. "Least Squares Fitting--Logarithmic."