Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Non-polynomial Curve Fit problem
Date: Thu, 16 Apr 2009 18:36:01 +0000 (UTC)
Organization: University of Michigan
Lines: 12
Message-ID: <gs7tqh$3oc$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239906961 3852 172.30.248.38 (16 Apr 2009 18:36:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 16 Apr 2009 18:36:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1246458
Xref: news.mathworks.com comp.soft-sys.matlab:533290


Below is my figure data:

x=[-28.87 -27.35 -18.67 -22.42 -34.53 -52.73 -60.72 -68.06 -87.41 -94.16]';
y=[-11.56   -5.57  3.26    7.15    7.69    5.82   7.99   10.45    2.70         0];
plot(x,y,'ro-');
grid;
axis equal;

I have tried the polyfit but not successful, which changed my data order firstly.
I want to make a curve fit which can keep the shape of the path in above figure. Especially in the right side where there is a ear or shoulder shape.

Thanks,