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

Home » Public Forums » archive » solving 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
Re: solving non linear equation [message #92851 is a reply to message #92842] Fri, 11 March 2016 15:59 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Thursday, March 10, 2016 at 8:42:44 AM UTC-5, omar ali wrote:
> Hi,
> I have the following equation and I have various values for "y" and i need to calculate "X". can it be solved directly in idl.
>
> y = (a*cos(theta))*h*(1-exp(-2*b*X/cos(theta)))/(2*X*b)

Not sure what you want. If you want a symbolic solution, then no, IDL does not do symbolic manipulation.

If you know values of A, B, THETA and H, then you can probably use a simple procedure like AMOEBA to solve for X. Or better yet, you can probably use some simple iterative approach to solve the problem.

If your goal is to estimate the A, B THETA and H parameters based on your data, then your best bet is to use MPFIT().

Best wishes,
Craig
[Message index]
 
Read Message
Read Message
Previous Topic: contour plot of scattered data
Next Topic: Dealing with list created by STRSPLIT?

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

Current Time: Sat Oct 11 12:26:24 PDT 2025

Total time taken to generate the page: 1.83889 seconds