[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
data fitting
From: |
Jiri Pachman |
Subject: |
data fitting |
Date: |
Mon, 21 Feb 2005 18:08:01 +0100 |
User-agent: |
Opera M2/7.51 (Win32, build 3798) |
Hi all,
I am trying to determine parameters of equation by fitting it to
experimental data. The equation is in the form of:
y = a1 * (x*a2)/(1+x^2*a2^2) + a3 * (x*a4)/(1+x^2*a4^2) + ....
a1, a2, a3 etc are the parameters I am trying to find. I started with one
(a1, a2) and went up to make sure I am not too far with the initial guess.
I used leasqr and it was ok on theoretical data, but when I try to use it
on real ones it fails. I get inverse matrix singular to machine precision.
I found in literature (since this is typical problem from rheology) that
this kind of problem is ill-posed in its nature and is solved by using
Thikonov regularization. I just wanted to know, if there is a more robust
way in octave to fit the data.
thanks
Jiri
--
***************************************************
Ing. Jiri Pachman
Katedra teorie a technologie vybusnin
Univerzita Pardubice
Studentska 95
532 10 Pardubice
tel.: +420-46-603-8018
fax.: +420-46-603-8024
***************************************************
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- data fitting,
Jiri Pachman <=