What unit does grn2eqa return?

5 views (last 30 days)
Louis
Louis on 21 Apr 2014
Commented: Star Strider on 21 Apr 2014
Hello,
I have recently used the in build matlab function grn2eqa to convert a batch of lat-long data in degrees to equal area xy co-ordinates. However, looking at the results the unit does not make any sense to me (order *10^-5). The relative motions are quite small as this is gps data from a 40% scale model aircraft but i cannot figure out what unit this is or find anywhere that it is stated.
Does anybody know?
Cheers,
Louis

Accepted Answer

Star Strider
Star Strider on 21 Apr 2014
I don’t have the Mapping Toolbox, but a quick look at the online documentation for grn2eqa provides:
  • [x,y] = grn2eqa(lat,lon,origin,units) specifies the units for the inputs, where units is any valid angle units string. The default value is 'degrees'.
  4 Comments
Louis
Louis on 21 Apr 2014
Thanks! I hadn't realised what the ellipsoid argument of the function did so initially left it blank. I set up the reference sphere to the earth model provided in matlab and used this as the ellipsoid model in the grn2eqa function. This changed the values on my xy co-ordinates to meaningful co-ordinates in the unit that I specified the radius of the Earth in, in this case meters. Thanks again!

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!