The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: units for great circle distance
Replies: 5   Last Post: May 29, 2014 2:06 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jonathan W Smith

Posts: 90
Registered: 12/17/10
Re: units for great circle distance
Posted: May 29, 2014 1:06 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <> wrote in message <lm7ogh$vn3$>...
> On 5/29/2014 10:21 AM, Jonathan W Smith wrote:
> ... [top posting repaired]...

> > dpb <> wrote in message <lm5tq8$kgd$>...
> >> On 5/28/2014 3:29 PM, Jonathan W Smith wrote:
> >> > Hello
> >> > What are the units for the result of the greatCircleDistance function?

> >>
> >> Dependent on units of what you input...

> > Good morning:
> >
> > My longitude and latitude are degrees. How does the function know what
> > units you are putting in? If I put in miles, will it output miles? If I
> > put in the number 10 how does in know its no miles vs km?
> >
> > Thanks
> >
> > Jonathan

> Guess better find out which function you're actually using; there is no
> greatCircleDistance() function in current documentation nor at the File
> Exchange, I just made a deductive conclusion from the name of the function.
> The Mapping Toolbox function distance() returns an arc length in degrees
> by default, optionally in radians. You convert to distance based on
> diameter.
> Check the documentation on the function you're using, specifically, for
> its assumptions.
> --

There are two great circle distance functions on the file exchange:

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.