LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help $$$$$ how to find distance between points

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 .

new.JPG

[COLOR="#FF0000"]Note: all the points are real on the map an has ( longitude) and ( latitude ).
[/COLOR]
regards

0 Kudos
Message 1 of 7
(3,263 Views)

Pythagorean Theorem

 

They're teaching this to you in school, right?

Message 2 of 7
(3,257 Views)

Distance between all points is 3?

 

The answer must be 3! Smiley Very Happy

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 3 of 7
(3,246 Views)

Why the heck did you put $$$$ in the title?

0 Kudos
Message 4 of 7
(3,233 Views)

@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. 😄

Message 5 of 7
(3,223 Views)

@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?

Message 6 of 7
(3,215 Views)

 


altenbach wrote

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?


 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.

0 Kudos
Message 7 of 7
(3,178 Views)