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:
2d algorithm

Subject: 2d algorithm

From: Vinz A

Date: 10 Jun, 2010 17:46:04

Message: 1 of 1

Hi,
Can anyone please help me to code a 2D algorithm in a iterative loop like forward march.
I need to integrate P(x,y). I have different equations for P(x) & P(y), but I need the code to solve for P(x) in right(x) direction and P(y) in down(y) direction as both are dependent on each other.
For example: the value px1 from the previous iteration (x=1) will be the input for x=2 and the output for it is Px2. at the same time it has to solve Py in y-direction taking Py1 as the input and Py2 as output.
        
              -----PY1----------
    (Px1) ! ! (Px2)
             ! !
             -----------------
                  Py2
Cheers
Vinz

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