Path: news.mathworks.com!not-for-mail
From: "ghasem " <shaban_sadeghi@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: how use from fitting for log function?
Date: Wed, 15 May 2013 21:59:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <kn10fe$sn9$1@newscl01ah.mathworks.com>
Reply-To: "ghasem " <shaban_sadeghi@yahoo.com>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1368655150 29417 172.30.248.46 (15 May 2013 21:59:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 15 May 2013 21:59:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 4223132
Xref: news.mathworks.com comp.soft-sys.matlab:795662

Hi.
I had a nonlinear equation.so I solved it and I obtained set of points and plot them.for example (x,y) pairs are my results and plot(x,y) give me my diagram.
now,I want to use from fitting to obtain a relation between x,y.
I know general form of this relation is as following:
y = c1*log(x)+c2
how I can use from fitting to obtain c1 and c2 constants?
I saw in plot window of MATLAB there is not log function.and there is only polynomial functions for fitting.
how use from fitting in my problem?
thanks