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

Home » Public Forums » archive » Curve Fitting to timeseries using a set of 8 sine and cosine functions
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 to timeseries using a set of 8 sine and cosine functions [message #89550] Fri, 24 October 2014 22:47 Go to previous message
siumtesfai is currently offline  siumtesfai
Messages: 62
Registered: April 2013
Member
I think you should try to be for specific to ask question here.

Suppose I have a timeseries with the S size.

I want to do nonlinear fitting to the timeseries using the following fourier series ( harmonic function)

F(X) = ∑((Ancos(nπx/L)+Bnsin(nπx/L) ) , Where n = 1,2,3,4

And I would find 8 coefficients such as An and Bn where n = 1,2,3,4

That is.

A1,A2,A3,A4
B1,B2,B3,B4

I have attempted to understand how it works mpfit by Craig and curvefit . Unfortunately, I did not because I am not IDL expert. So I posted this if anyone can help


Best Wishes


Thanks for you help
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Name of currently running program?
Next Topic: strange postscript error on certain IDL plots

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

Current Time: Wed Oct 08 13:53:20 PDT 2025

Total time taken to generate the page: 0.00892 seconds