Results 1 to 1 of 1

Math Help - graph to array problem

  1. #1
    Newbie
    Joined
    May 2012
    From
    scotland
    Posts
    1

    graph to array problem

    hi guys i know this is more of a computer math question but i think i need a more specific mind set for this one

    a 2d graph is from (top left) -1000,1000 to (bottom right) 1000,1000.

    in correspondence to this i have an array with 2 dimensions witch is 10 by 10
    [1][1](top right)
    [10][10](bottom left)

    what is a formula which will take a point in the 2d graph and tell me where it is on the array
    all i can help with is the following.


    -------------2d GRAPH----------------------------------- 2d ARRAY
    a(1000,1000)----- b(1000,-1000) -------------> a[1][1] ----- b[10][1]
    ----------------------------------------->
    ------------------------------------------>
    ------------------------------------------>
    ---------------c(0,0) -------------------------------------> c[5][5]
    ------------------------------------------>
    ------------------------------------------>
    ------------------------------------------>
    ------------------------------------------>
    d(-1000,1000)----- e(-1000,-1000)------------> d [1][10]----- e[10][10]

    sorry the diagram is crude i cant put multiple space bars.
    3....2....1...GO!!!!

    gfp91
    Last edited by gfp91; May 2nd 2012 at 05:06 PM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. A problem with LateX array
    Posted in the LaTeX Help Forum
    Replies: 6
    Last Post: March 28th 2011, 08:28 PM
  2. Array Help
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: January 31st 2011, 07:42 AM
  3. Matlab data cleaning - cell array to matrix problem
    Posted in the Math Software Forum
    Replies: 0
    Last Post: March 24th 2010, 10:08 AM
  4. array help
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: October 12th 2008, 05:42 PM
  5. array
    Posted in the LaTeX Help Forum
    Replies: 3
    Last Post: October 8th 2008, 01:43 PM

Search Tags


/mathhelpforum @mathhelpforum