Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
fix point iteration

Subject: fix point iteration

From: Yi

Date: 25 Apr, 2009 17:37:02

Message: 1 of 3

Dear friend:

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?

Thanks & Best Regards

Yi
 

Subject: fix point iteration

From: Roger Stafford

Date: 25 Apr, 2009 19:11:01

Message: 2 of 3

"Yi" <hvachy@163.com> wrote in message <gsvhnt$gmt$1@fred.mathworks.com>...
> 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:

 http://en.wikipedia.org/wiki/Fixed_point_iteration

Roger Stafford

Subject: fix point iteration

From: Yi

Date: 26 Apr, 2009 16:13:01

Message: 3 of 3

Dear Roer: Thanks for the reply. I’m wondering if there is any developed code to deal with this kind of 2 variable fix-point iteration? Thank you.

Yi



"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gsvn85$60m$1@fred.mathworks.com>...
> "Yi" <hvachy@163.com> wrote in message <gsvhnt$gmt$1@fred.mathworks.com>...
> > 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:
>
> http://en.wikipedia.org/wiki/Fixed_point_iteration
>
> Roger Stafford

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us