07-24-2012 12:40 PM
Hello My Friends
Could you please help me to write such a program in Matlab or other software able to find the distance from 1,1 to 3,3 .
[COLOR="#FF0000"]Note: all the points are real on the map an has ( longitude) and ( latitude ).
[/COLOR]
regards
07-24-2012 12:54 PM
07-24-2012 01:18 PM
Distance between all points is 3?
The answer must be 3!
07-24-2012 01:33 PM
Why the heck did you put $$$$ in the title?
07-24-2012 01:51 PM
@NateTheGreat wrote:
Why the heck did you put $$$$ in the title?
The accepted solution gets $$$$ from a Nigerian prince. You pay only shipping and handling. 😄
07-24-2012 01:56 PM - edited 07-24-2012 01:57 PM
@7611172672 wrote:
Could you please help me to write such a program in Matlab or other software able to find the distance from 1,1 to 3,3 .
This is not a matlab forum. An example for "other" software is LabVIEW. Do you have it installed?
@7611172672 wrote:
Note: all the points are real on the map an has ( longitude) and ( latitude ).
This can be an extremely difficult question.
Since this is on a real map, are the distanced large enough that you need to consider the curvature of the earth? Do you want the shortest path along the surface or are you allowed to dig underground? Do you need to account for mountains?
07-24-2012 03:34 PM
altenbach wroteThis can be an extremely difficult question.
Since this is on a real map, are the distanced large enough that you need to consider the curvature of the earth? Do you want the shortest path along the surface or are you allowed to dig underground? Do you need to account for mountains?
I sincerely doubt that this is anything more than a homework question, especially given the way it was asked. But, assuming it's not (and even if it is)... http://www.movable-type.co.uk/scripts/latlong.html
All that trig.