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

Home » Public Forums » archive » Curve Fitting Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Curve Fitting Question [message #1309] Tue, 14 September 1993 11:01 Go to previous message
ftdwh is currently offline  ftdwh
Messages: 1
Registered: September 1993
Junior Member
The question I have is how to properly use the curvefit routine to fit a
function that I am defining. It is as follows:

mclat = A1 + A2*cos(mlt + A3) + A4*cos(2*mlt + 2*A5) + A6*cos(3*mlt + 3*A7)

where mclat is the magnetic co-latitude, mlt is an angular representation of
the magnetic local time.(This is a Fourier fit)

I have in my data set the mclat and mlt, but I want to find the coefficients
A1-A7. Can I do this using the fitting routine in IDL? If I can, what are the
steps I need to follow? (As with most manuals they seem to be written for
somebody who already knows what they are doing. Along that train of thought
can any body recommend a book that might help those of us not fully
knowledgable in IDL)

David Hembroff
Geophysical Institute
University of Alaska Fairbanks
"I R A Grad Student"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dimensional confusion
Next Topic: Re: Dimensional confusion

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

Current Time: Wed Oct 08 15:54:25 PDT 2025

Total time taken to generate the page: 0.00461 seconds