Rank: 394 based on 152 downloads (last 30 days) and 1 file submitted
Personal Profile:
Professional Interests:
geodesy, earth sciences, astronomy

 

Watch this Author's files

 

Files Posted by Mike
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Feb 2013 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer gps, geodesy, angle, geomatics, coordinate, gps week 152 27
  • 4.76923
4.8 | 13 ratings
Comments and Ratings by Mike View all
Updated File Comments Rating
27 Jul 2013 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer

Two errors were discovered in the ell2utm.m and utm2ell.m functions. In ell2utm.m there is a vectorized calculation error for variable E2. Replace

E2=lam.^3.*cos(lat).^3/6*(1-t.^2+h2);

with

E2=lam.^3.*cos(lat).^3/6.*(1-t.^2+h2);

Thanks to John Marcovici for reporting this error.

And in utm2ell.m the function name on lines 1 & 2 is incorrect. Replace

function [lat,lon]=ell2utm(N,E,Zone,a,e2,lcm)
% ELL2UTM Converts UTM coordinates to ellipsoidal coordinates.

with

function [lat,lon]=utm2ell(N,E,Zone,a,e2,lcm)
% UTM2ELL Converts UTM coordinates to ellipsoidal coordinates.

Thanks to Andreas Wuestefeld for pointing out this error.

25 Sep 2011 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer

Re: 23 Jul 2011 post by muhammad faiz pa'suya

Dear Muhammad: The ell2utm function will automatically determine and output the standard UTM zone in which your input coordinates fall. To also have it output the central meridian for the zone(s), change the first line of the ell2utm.m function from

function [N,E,Zone]=ell2utm(lat,lon,a,e2,lcm)
to
function [N,E,Zone,lcm]=ell2utm(lat,lon,a,e2,lcm)

This will be implemented in the next version of the Toolbox. To understand how the zones are determined, see the Wikipedia entry for UTM.

13 Mar 2011 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer

Sorry again! I keep forgetting that the MATLAB File Exchange doesn't like the use of the standard angle brackets enclosing URLs. Here is the clickable URL sans brackets:

http://www.craymer.com/software/matlab/geodetic/

13 Mar 2011 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer

A new version 2.95 of the Geodetic Toolbox is now available. Unfortunately, I am unable upload it to the MATLAB Central File Exchange (keep getting an error). Until the Mathworks resolves the problem, you can find the new version at <http://www.craymer.com/software/matlab/geodetic/>.

Updates include:

- Added new jd2mjd & mjd2jd functions for modified Julian date conversions.
- Modified ct2lg & lg2ct functions to optionally use different lat,lon for each point.
- Corrected use of ell2utm function in ToUTM example script.
- Removed "clear all" in example scripts to avoid clearing user's workspace.
- Modified functions to use GRS80 reference ellipsoid by default.

See Content.m for the full list of changes.

21 Feb 2011 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer

Sorry the URL's in my previous comment did not format correctly. They should have been specified as:

http://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system

http://geographiclib.sourceforge.net/cgi-bin/GeoConvert

Comments and Ratings on Mike's Files View all
Updated File Comment by Comments Rating
27 Jul 2013 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer Craymer, Mike

Two errors were discovered in the ell2utm.m and utm2ell.m functions. In ell2utm.m there is a vectorized calculation error for variable E2. Replace

E2=lam.^3.*cos(lat).^3/6*(1-t.^2+h2);

with

E2=lam.^3.*cos(lat).^3/6.*(1-t.^2+h2);

Thanks to John Marcovici for reporting this error.

And in utm2ell.m the function name on lines 1 & 2 is incorrect. Replace

function [lat,lon]=ell2utm(N,E,Zone,a,e2,lcm)
% ELL2UTM Converts UTM coordinates to ellipsoidal coordinates.

with

function [lat,lon]=utm2ell(N,E,Zone,a,e2,lcm)
% UTM2ELL Converts UTM coordinates to ellipsoidal coordinates.

Thanks to Andreas Wuestefeld for pointing out this error.

19 Apr 2013 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer wg

really amazing!!!

09 Jan 2013 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer Peng

09 Aug 2012 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer Pavan

Helped a lot, Thanks.

25 Sep 2011 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer Craymer, Mike

Re: 23 Jul 2011 post by muhammad faiz pa'suya

Dear Muhammad: The ell2utm function will automatically determine and output the standard UTM zone in which your input coordinates fall. To also have it output the central meridian for the zone(s), change the first line of the ell2utm.m function from

function [N,E,Zone]=ell2utm(lat,lon,a,e2,lcm)
to
function [N,E,Zone,lcm]=ell2utm(lat,lon,a,e2,lcm)

This will be implemented in the next version of the Toolbox. To understand how the zones are determined, see the Wikipedia entry for UTM.

Top Tags Applied by Mike
aerospace, angle, coordinate, coordinates, date
Files Tagged by Mike
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Feb 2013 Geodetic Toolbox Toolbox for angle, coordinate and date conversions and transformations. Version 2.97. Author: Mike Craymer gps, geodesy, angle, geomatics, coordinate, gps week 152 27
  • 4.76923
4.8 | 13 ratings

Contact us