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

Home » Public Forums » archive » Help with least squares on non-linear function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Help with least squares on non-linear function [message #85657] Sat, 24 August 2013 12:14 Go to previous message
stefan.meingast is currently offline  stefan.meingast
Messages: 30
Registered: June 2012
Member
Hey

I finally want to enjoy at least some time of the weekend, but I am stuck at one problem tonight for which I still would like to find a solution.

I have a bunch of measurements in an array y which depending basically on another variable x. I want to do a least-squares fit to a non-linear function, which would be very easy if I just wanted e.g. a polynomial fit. My problem is now that there is another parameter coming into play (here: k), so the function I want to fit in the end looks like this (though the order should be variable in the end which in this example is set to 3):

https://dl.dropboxusercontent.com/u/16787607/formula.jpg

where the a_i are the coefficients I want to determine.

I have been trying to figure out what the best way might be to do such a fit, but this turns out to be much more complicated than I thought...

I hope some of you may have a hint

many thanks!!!
:)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FONT_SIZE in PLOT()
Next Topic: Does Java polymorphism not work via the IDL Java Bridge?

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

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

Total time taken to generate the page: 0.00546 seconds