Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to find the distance between pionts? Please Help

  1. Jul 24, 2012 #1
    Hello My Friends

    I am trying to find the distance from 1,1 to all other points then from 2,1 to all other points then from 3,1 to all other points ...........etc, until from 3,3 to all other points .
    I used this function in Matlab and i got the answer

    arclen = distance('gc',[37,-76],[37,-9]);arclen1 = distance('gc',[37,-76],[37,-9]) and i got the answer,

    However i need some help to write the full program for these 9 points, could you please try to help?

    Note: all the points are real on the map an has ( longitude) and ( latitude ).


    Attached Files:

    • new.JPG
      File size:
      8.3 KB
    Last edited: Jul 24, 2012
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted