11-27-2007 10:44 AM
I would like to pass some additional arguments to the function fminsearch. In matlab, this is usually done using an annomous function ie:
X = fminsearch(@(x) myfun(x, y), x0),
where myfun is the function that I’m trying to minimize and y is the additional argument that I want to pass. What is the best way to do this using mathscript?
Jim
11-28-2007 11:09 AM