Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!2g2000hsn.googlegroups.com!not-for-mail
From: "Marcus M. Edvall" <edvall@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: robust fitting using lsqcurvefit
Date: Sun, 18 May 2008 20:42:24 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <270a57ad-d6bb-46ae-b976-35041513e4c2@2g2000hsn.googlegroups.com>
References: <g09793$4mc$1@fred.mathworks.com> <g098ir$i7v$1@fred.mathworks.com> 
NNTP-Posting-Host: 190.140.95.114
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1211168544 18849 127.0.0.1 (19 May 2008 03:42:24 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 19 May 2008 03:42:24 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 2g2000hsn.googlegroups.com; posting-host=190.140.95.114; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 
Bytes: 1759
Xref: news.mathworks.com comp.soft-sys.matlab:469142


The best is normally to use NLSSOL (for dense problems) and slsSolve
for sparse problems since the sparsity can be transferred to the
constraints.

You can get a demo from here as needed: http://tomopt.com/scripts/register.php

Of course you can also use TOMLAB /KNITRO with slsSolve and MAD
(automatic differentiation) to get good results as well.

Best wishes, Marcus
Tomlab Optimization Inc.
http://tomopt.com/tomlab/