Monday, 2 September 2013

Access second output of Matlab procedure directly

Access second output of Matlab procedure directly

I'm not very good at programming and new to matlab, so sorry if I'm not
using the right terminology.
If I use the e.g. fminbnd procedure in Matlab first i get the x-value
which minimises and then i get the function value. Is there a neat way for
me to get just the minimum function value. To make it clear, for me it
seems I have to do:
[x,y] = fminbnd(h,-10,10)
when I only need y. Is there any way for me to not get x?

No comments:

Post a Comment