help-octave
[Top][All Lists]
Advanced

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

RE: Interpolating with f(x) = a*x^b, where b might be a non-integer?


From: Damian Harty
Subject: RE: Interpolating with f(x) = a*x^b, where b might be a non-integer?
Date: Mon, 29 Oct 2012 15:22:21 +0000

> > Hello, given a set of measurements, I would like to find the best
> > fitting function of the form:
> >
> > f(x) = a*x^b, where a, b might be non integers. Here is a good
> example
> > of such a fitting:
> >
> > http://www.flybrushless.com/prop/view/38
> >
> > Is there any toolbox in octave that I could use to easily obtain the
> a
> > and b coefficients given a set of measurements?

Any reason you wouldn't take logs and fit a straight line?

   log(f(x) = log(a)+log(x).b

Looks quite like "y=mx+c" to me?

Damian Harty 




reply via email to

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