Results 1 to 3 of 3

Math Help - Matlab Help! 3 sets of coordinates

  1. #1
    Newbie
    Joined
    Nov 2009
    Posts
    17

    Matlab Help! 3 sets of coordinates

    I have worked through a 1st order Runge-Kutta problem, and have ended up with 3 sets of coordinates which I need to plot in a graph on matlab,

    (x1r(i),y1r(i))
    (x2r(i),y2r(i))
    (x3r(i),y3r(i))

    I have a bit baffled on how to do this, any help would be great!

    Thanks,
    Gizmo
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    Mar 2007
    Posts
    206
    Awards
    1
    It is hard to tell what format your data is in but something along the lines of this will work.


    Code:
    plot([x1r(i),x2r(i),x3r(i)],[y1r(i),y2r(i),y3r(i)])
    Post up you code for better advice.

    Elbarto
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by gizmo View Post
    I have worked through a 1st order Runge-Kutta problem, and have ended up with 3 sets of coordinates which I need to plot in a graph on matlab,

    (x1r(i),y1r(i))
    (x2r(i),y2r(i))
    (x3r(i),y3r(i))

    I have a bit baffled on how to do this, any help would be great!

    Thanks,
    Gizmo
    Not enough information, for instance what is "i"

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: March 28th 2011, 10:40 PM
  2. Replies: 9
    Last Post: November 6th 2010, 12:47 PM
  3. Replies: 10
    Last Post: September 24th 2010, 04:33 AM
  4. Covert Cartesian coordinates eq. into Cylindrical coordinates
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: August 6th 2010, 06:56 AM
  5. Replies: 6
    Last Post: February 4th 2009, 12:12 AM

Search Tags


/mathhelpforum @mathhelpforum