I am trying to use matlab's fsolve to solve a system of 4 nonlinear equations. I'm solving the system for each point in a grid of parameters by looping through each point and calling the fsolve function.
My problem is that I need to give some of these parameters as input to fsolve. These inputs should be treated as constants for each separate solving of the system.
Can anyone help me?
fhand = @(x)foobar( x, a, b, c, ... );In the above,xwill be the vector used byfsolveand the other arguments (i.e.,a,b, ...) will be unaltered and passed to the functionfoobarwith whatever value they had when the funtion handle was defined. - AnonSubmitter85