help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Curve Fitting Problem


From: Sergei Steshenko
Subject: Re: Curve Fitting Problem
Date: Thu, 26 Jun 2008 19:52:32 -0700 (PDT)


Applications From Scratch: http://appsfromscratch.berlios.de/


--- On Thu, 6/26/08, A. Kalten <address@hidden> wrote:

> From: A. Kalten <address@hidden>
> Subject: Curve Fitting Problem
> To: address@hidden
> Date: Thursday, June 26, 2008, 3:57 PM
[snip]
> I suspect that the only solution would be to write a
> custom least squares program.
> 
> AK
> 
>

Maybe not.

If I understand your problem correctly, is more or less like this;

1) there is f(x) to be approximated;
2) the desired approximation is:

a * x^2 + b * x + c;

3) for example, 'a' above is for whatever reason predetermined.

Then, I think, you need to approximate

f(x) - a * x^2

with

b * x + c

, i.e. you can use the existing curve fitting function on a different 
input function.

Regards,
  Sergei.


      


reply via email to

[Prev in Thread] Current Thread [Next in Thread]