Rihanna
Junior Member level 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 ).
regards
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 ).
regards
Last edited: