20.08.2015 Views

“ANÁLISIS DE SISTEMAS DE DISTRIBUCIÓN DE GAS POR ... - inicio

“ANÁLISIS DE SISTEMAS DE DISTRIBUCIÓN DE GAS POR ... - inicio

“ANÁLISIS DE SISTEMAS DE DISTRIBUCIÓN DE GAS POR ... - inicio

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FSOLVEsolves systems of nonlinear equations of several variables.FSOLVE attempts to solve equations of the form:F(X)=0where F and X may be vectors or matrices.X=FSOLVE(FUN,X0) starts at the matrix X0 and tries to solve the equations in FUN.FUN accepts input X and returns a vector (matrix) of equation values F evaluated atX.X=FSOLVE(FUN,X0,OPTIONS) minimizes with the default optimization parametersreplaced by values in the structure OPTIONS, an argument created with theOPTIMSET function. See OPTIMSET for details. Used options are Display, TolX,TolFun, DerivativeCheck, Diagnostics, FunValCheck, Jacobian, JacobMult,JacobPattern, LineSearchType, LevenbergMarquardt, MaxFunEvals, MaxIter,DiffMinChange and DiffMaxChange, LargeScale, MaxPCGIter, PrecondBandWidth,TolPCG, TypicalX. Use the Jacobian option to specify that FUN also returns asecond output argument J that is the Jacobian matrix at the point X. If FUN returns avector F of m components when X has length n, then J is an m-by-n matrix whereJ(i,j) is the partial derivative of F(i) with respect to x(j). (Note that the Jacobian J is thetranspose of the gradient of F.)[X,FVAL]=FSOLVE(FUN,X0,...) returns the value of the equations FUN at X.[X,FVAL,EXITFLAG,OUTPUT]=FSOLVE(FUN,X0,...) returns a structure OUTPUTwith the number of iterations taken in OUTPUT.iterations, the number of functionevaluations in OUTPUT.funcCount, the algorithm used in OUTPUT.algorithm, thenumber of CG iterations (if used) in OUTPUT.cgiterations, the first-order optimality (ifused) in OUTPUT.firstorderopt, and the exit message in OUTPUT.message.[X,FVAL,EXITFLAG,OUTPUT,JACOB]=FSOLVE(FUN,X0,...) returns the Jacobian ofFUN at X.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!