From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fix point iteration
Date: Sat, 25 Apr 2009 19:11:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gsvn85$60m$>
References: <gsvhnt$gmt$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1240686661 6166 (25 Apr 2009 19:11:01 GMT)
NNTP-Posting-Date: Sat, 25 Apr 2009 19:11:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:535434

"Yi" <> wrote in message <gsvhnt$gmt$>...
> I want to plot a curve, x is my independent value, and y is the dependent value. 
> But I have
> y = f1(a,b,x)
> a = g1(a,b,x)
> b = g2(a,b,x)
> I want to assume the x value in a reasonable interval and then use fix point iteration to solve a and b first, using function a and b. Then drive these a and b and x(assumption) into y and then plot the curve. 
> I don't know how to solve a and b. Which command should I use? 

  Fixed point iteration is a very general concept for solving equations.  It is necessary to choose an appropriate formula/method for carrying out the iteration, as for example the Newton-Raphson method or Halley's method.  In your case you need a two-variable method.  See the Wikipedia article at:

Roger Stafford