comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: curve-fitting with additional constraints
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: curve-fitting with additional constraints [message #1757] Tue, 08 February 1994 13:42
pln is currently offline  pln
Messages: 10
Registered: September 1991
Junior Member
Jennifer Dungan (jennifer@gaia.arc.nasa.gov) wrote:
: I have a curve-fitting question.
: I am using second degree polynomials of the form
: y=a2*x^2 + a1*x + a0
: to fit some data. This is a reasonable model and most of the data
: can be fit quite well. However, the model also needs to include
: the constraint that the maximum response is at x=0. I don't have
: any data at exactly x=0. Does anyone know how I can incorporate
: this additional constraint into my fitting program? I am currently
: using IDL's POLY_FIT.

This constraint is equivalent to requiring a1=0 in your model.
You could change to a simpler model
y=a2*x^2 + a0.
--
* Patrick L. Nolan (415)723-0133 *
* W. W. Hansen Experimental Physics Laboratory (HEPL) *
* Stanford University *
* Bitnet: PLN@SLACVM Internet: pln@egret0.stanford.edu *
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Linestyle > 6?
Next Topic: Device driver for framemaker interchange format

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:35:45 PDT 2025

Total time taken to generate the page: 0.00569 seconds