(
Jump to the original submission)
Tue 05 Jan 2016 09:00:28 AM UTC, comment #7:
No probs. It's kind of an ugly hack too.
|
Mon 04 Jan 2016 10:08:07 PM UTC, comment #6:
I agree to jwe. Problem parameter passing is easily done using an anonymous function in both Octave and Matlab
See example 2+3 in the current Matlab documentation:
http://www.mathworks.com/help/matlab/ref/fminsearch.html
|
Mon 04 Jan 2016 07:14:00 PM UTC, comment #5:
We've already decided that we don't care to support this behavior since it is no longer documented Matlab behavior.
The documentation you point to appears to be quite old. It looks like someone put up an unauthorized copy of the Matlab docs on their own server and never removed it even thought appears to be at least a dozen years out of date. It mentions R13, which according to https://en.wikipedia.org/wiki/MATLAB#Release_history is about 13 years old now.
|
Mon 04 Jan 2016 02:43:11 PM UTC, comment #4:
Sorry for making a meal of this...! I just noticed fzero and fsolve need the same treatment.
(file #35920)
|
Mon 04 Jan 2016 01:57:55 PM UTC, comment #3:
OK well that one didn't work. Try again...
(file #35919)
|
Mon 04 Jan 2016 01:33:46 PM UTC, comment #2:
I don't trust my patch file skills... but here's my first effort.
(file #35918)
|
Mon 04 Jan 2016 10:47:14 AM UTC, comment #1:
Oops, his is a dupe of #41888 which looks like it is not happening. Apologies for the noise!
|
Mon 04 Jan 2016 10:22:30 AM UTC, original submission:
Matlab supports additional arguments in fminsearch, fmnbnd, fminunc, etc. that get passed to the function.
There is documentation here but not on the current Matlab website.
http://www-rohan.sdsu.edu/doc/matlab/techdoc/ref/fminsearch.html
Example:
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 6 latest changes.