mathematical optimization - How to minimize multivariate function in Matlab by using derivatives? -


how minimize multivariate function in matlab using derivatives?

so far, minimizing single variable functions used fminunc, need work multivariate functions.

thank you

use fminunc. if want use gradient, return 2nd output of objective function. you'll need indicate in options object passing gradient.

options = optimoptions('fminunc','gradobj','on'); 

i believe documentation has info on passing hessian (if 1 exists).


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -