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

Home » Public Forums » archive » non linear systems, mpfitexpr and functargs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
non linear systems, mpfitexpr and functargs [message #52361] Tue, 30 January 2007 10:15 Go to previous message
Elix is currently offline  Elix
Messages: 2
Registered: January 2007
Junior Member
Hi,

in this newsgroup I found the interesting option of solving non-linear
systems using mpfitexpr. I need to use mpfitexpr with the functargs
keyword, but apparently I'm doing something wrong here.

stru={iref:iref,i2:i2}
p1=[0.3,0.5]
expr='[stru.iref-(1.-p[0])-p[0]*exp(-p[1]),'+$
'stru.i2-(1.-p[0])-p[0]*exp(-p[1]*0.3)]'
p=mpfitexpr(expr,0,0,1,p1,functargs=stru)

% MPFITEXPR: ERROR: execution of "[stru.iref-(1.-p[0])-p[0]*exp(-
p[1]),stru.i2-(1.-p[0])-p[0]*exp(-p[1]*0.3)]" failed.

Any suggestion?
thanks!
Elix
[Message index]
 
Read Message
Read Message
Previous Topic: Re: using LOCATIONS keyword of IDLgrText?
Next Topic: Re: .sav format

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

Current Time: Sat Oct 11 12:45:53 PDT 2025

Total time taken to generate the page: 0.14234 seconds