Increating number of iteration in matlab

  • Follow


Hi,

I'm trying to solve a system of equations using fsolve. I get two solutions which are very close to each other, although the final error is very small for both solutions. Is it possible to increase the minimum number of iteration in fsolve? 

Thanks,
Tobias
0
Reply Tobias 10/16/2010 3:12:03 PM

On Oct 16, 5:12=A0pm, "Tobias " <tobias_dirk...@hotmail.com> wrote:
> Hi,
>
> I'm trying to solve a system of equations using fsolve. I get two solutio=
ns which are very close to each other, although the final error is very sma=
ll for both solutions. Is it possible to increase the minimum number of ite=
ration in fsolve?
>
> Thanks,
> Tobias

I am not aware that you can change the minimum number of iterations.
Instead I would change the tolerance of fsolve.

Regards,
Enrique Vidal

0
Reply Enrique 10/16/2010 3:31:28 PM


Thanks for the answer. I have tried this, but I'm still in doubt whether the solutions are correct.

Enrique Vidal Sanchez <enrique@vidal.dk> wrote in message <ef719cab-6877-4cc8-8506-6687035dbe0f@30g2000yqm.googlegroups.com>...
> On Oct 16, 5:12 pm, "Tobias " <tobias_dirk...@hotmail.com> wrote:
> > Hi,
> >
> > I'm trying to solve a system of equations using fsolve. I get two solutions which are very close to each other, although the final error is very small for both solutions. Is it possible to increase the minimum number of iteration in fsolve?
> >
> > Thanks,
> > Tobias
> 
> I am not aware that you can change the minimum number of iterations.
> Instead I would change the tolerance of fsolve.
> 
> Regards,
> Enrique Vidal
0
Reply Tobias 10/16/2010 7:25:04 PM

2 Replies
261 Views

(page loaded in 0.05 seconds)

Similiar Articles:













7/26/2012 7:19:08 AM


Reply: