octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57446] fminsearch fails to undocumented Matla


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #57446] fminsearch fails to undocumented Matlab feature of passing extra parameters
Date: Thu, 19 Dec 2019 10:13:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

Update of bug #57446 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 3 - Low                
                  Status:                    None => Duplicate              
             Open/Closed:                    Open => Closed                 
                 Summary: fminsearch fails to exit  => fminsearch fails to
undocumented Matlab feature of passing extra parameters 

    _______________________________________________________

Follow-up Comment #1:

Thank you for the bug report.  According to bug #55742, Octave only supported
this undocumented Matlab feature of extra arguments  for a short time in
Octave 4.4.0.  Ultimately, it was decided in bug #46807 not to support this
undocumented feature, as it can be silently removed at any time in Matlab.

But no worries.  There is a much more consistent way of getting your job done
using anonymous functions.  You can find an example in the Matlab manual,
section "Minimize with Extra Parameters"

https://www.mathworks.com/help/matlab/ref/fminsearch.html

or if you post your function here, we can easily suggest an appropriate
anonymous functions declaration.

As you are on MS Windows, maybe you decide to upgrade to Octave 5.1.0?

I close this bug report as duplicate, but you can post your example function
"fssr" here with some idea of the parameters y,x,ymax,xmax to obtain further
guidance.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57446>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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