12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

lsqnonlinMaxPCGIterMaximum number of PCG (preconditionedconjugate gradient) iterations (see “Algorithm”on page 8-175).PrecondBandWidth Upper bandwidth of preconditioner for PCG. Bydefault, diagonal preconditioning is used (upperbandwidth of 0). For some problems, increasingthe bandwidth reduces the number of PCGiterations. Setting PrecondBandWidth to 'Inf'uses a direct factorization (Cholesky) ratherthan the conjugate gradients (CG). The directfactorization is computationally more expensivethan CG, but produces a better quality steptowards the solution.TolPCGTermination tolerance on the PCG iteration.Medium-Scale Algorithm OnlyThese options are used only by the medium-scale algorithm:LevenbergMarquardtLineSearchTypeChoose Levenberg-Marquardt overGauss-Newton algorithm.Line search algorithm choice.ExamplesFind x that minimizesstarting at the point x = [0.3, 0.4].Because lsqnonlin assumes that the sum of squares is not explicitlyformed in the user-defined function, the function passed to lsqnonlinshould instead compute the vector-valued function8-174

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

Saved successfully!

Ooh no, something went wrong!