help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leasqr] about setting an external parameter of F that is not part o


From: David Bateman
Subject: Re: [leasqr] about setting an external parameter of F that is not part of Pin vector
Date: Wed, 30 May 2007 11:13:59 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

[gRO] Administrateur wrote:
> Nevermind... global vars works perfectly.
> 
> Thanks anyway for reading the topic if so...
> 
> Gian

Yes, but anonymous function handles are nicer.. That is

EQP = ...
F = @(x,p) func(x,p, EQP);

and then pass F to leasqr. I believe this should work..

D.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]