[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-linear regression
From: |
Paul Kienzle |
Subject: |
Re: non-linear regression |
Date: |
Wed, 25 Feb 2004 11:25:48 -0500 |
octave-forge (http://octave.sf.net) has leasqr and, for
complex b, expfit.
If your data are regularly spaced, you may want to use
fft to generate an initial estimate. For irregularly spaced
data, octave-forge has irsa functions for calculating the
discrete fourier transform.
Paul Kienzle
address@hidden
On Feb 25, 2004, at 11:04 AM, Al Niessner wrote:
I am trying to fit a sine wave (A*sin(b*x+C) +D) to a set of data --
least square. Is there an existing function in octave to help with
this.
I checked the documentation (online) and browsed the 'octave> help' but
nothing jumped out at me.
--
Al Niessner <address@hidden>
Jet Propulsion Laboratory
All opinions stated above are mine and do not necessarily reflect
those of JPL or NASA.
----
| dS | >= 0
----
-------------------------------------------------------------
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
-------------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------