MATLAB: How to make logaritmic fitting like polyfit function

curve fitting

Hi;
I want to make logaritmic fitting but I don't find any logfit function like polyfit. Is there any function,script etc. that make logaritmic curve fitting in matlab
-edit- (19.10.2018 – 15:20)
I want to this type of curve fitting.

Best Answer

Fit log(x) against y using a linear polynomial in "polyfit". What's the problem ?