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

Home » Public Forums » archive » Solving a non-linear equation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Solving a non-linear equation [message #88241] Wed, 02 April 2014 07:33 Go to previous message
Reetsspacey is currently offline  Reetsspacey
Messages: 3
Registered: June 2009
Junior Member
Hi,

My problem is this: I have a non-linear equation, of the form y = exp(x)+x. I have a large matrix of Y values, and for each cell (Y-value) I would like to calculate a best-fit X. How can I do this???

I have tried defining a function (exp(x)+x), which I could then get the root of by a number of methods. However I would need to first subtract my Y, before I found the root. The problem then becomes, how can I tell IDL to find the root of exp(x)+x-Y, for a range of Y values?

Eeek my brain!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: services provided by Al madinah international university for students
Next Topic: transfer the specific data in array A to array B

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

Current Time: Wed Oct 08 15:18:45 PDT 2025

Total time taken to generate the page: 0.00248 seconds