From: siew tee kong on
fminbnd give me the minimum value
is there a similar command that gives me the max instead?

tq
From: Steven Lord on

"siew tee kong" <kongsiewtee(a)gmail.com> wrote in message
news:hjai88$nqp$1(a)fred.mathworks.com...
> fminbnd give me the minimum value
> is there a similar command that gives me the max instead?

Yes -- FMINBND. What happens if you minimize -f(x)?

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ