how to increase option.maxlter? thank you!

I am solving nonlinear equations using iterative method.But the iteration results point out:"Maximum number of iterations reached:increase options.Maxlter."So how can I increase option.maxlter? Thank you very much!

Answers (2)

Matt J
Matt J on 7 May 2014
You would use either optimset() or, if you have a recent enough MATLAB version, you would use optimoptions().

1 Comment

Can you tell me the specific statement? What should be written into the brackets? Thanks.

Sign in to comment.

For information on setting options, see the documentation.
Alan Weiss
MATLAB mathematical toolbox documentation

Categories

Asked:

on 7 May 2014

Answered:

on 7 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!