I have a set of data and I need to fit a curve to it. The equation of the curve is: y=20-a*10*log(x) My problem is just getting a curve fit to this equation. What function in MATLAB should I be looking for? How do I get the value of 'a'? Is it easier to achieve this in Excel? How?