Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Partial curve fitting
Date: Mon, 25 May 2009 09:36:01 +0000 (UTC)
Organization: K&#248;benhavns Universitet
Lines: 16
Message-ID: <gvdoq1$700$1@fred.mathworks.com>
References: <gvcl7u$p85$1@fred.mathworks.com> <gvdkj1$gsv$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243244161 7168 172.30.248.35 (25 May 2009 09:36:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 25 May 2009 09:36:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1698397
Xref: news.mathworks.com comp.soft-sys.matlab:542318


"Miroslav Balda" <balda.remove.this@cdm.cas.cz> wrote in message <gvdkj1$gsv$1@fred.mathworks.com>...
> SNIP
> > But I don't want to specify the beginning and the end of the different curves, I want the program to find those automatically.
> SNIP
> 
> Hi,
> 
> It sounds like a joke. The program has to have some criterion to decide what points of your data to select. Say, you have to set a half-width of independent variable interval, which will be used for cutting off all data points outside the interval distributed round the point of your interst. And then you may use your data fit.
> 
> Mira

First, I'm sorry, for not being completely clear. I couldn't make the needed distinction between the curve I want to fit, and the data points, I want to fit the curve to. At some point I called both 'curve'.
So what I was looking for is a way to judge how much a curve is fitting to the data points, based on only the part of the curve, where it is not taking a particular value. So this curve:
 [URL=http://img265.imagevenue.com/img.php?image=44446_example2_1_122_48lo.jpg][IMG]http://img265.imagevenue.com/loc48/th_44446_example2_1_122_48lo.jpg[/IMG][/URL]
is recognized to be a better fit, than this red curve:
[URL=http://img19.imagevenue.com/img.php?image=44448_example2_2_122_1124lo.jpg][IMG]http://img19.imagevenue.com/loc1124/th_44448_example2_2_122_1124lo.jpg[/IMG][/URL]