Clear Filters
Clear Filters

Transformation between ellipsoids function

6 views (last 30 days)
Jakub Snopl
Jakub Snopl on 4 Mar 2022
Answered: Anshuman on 31 Jan 2024
is there any function for transformation between ellipsoids in MATLAB?
Jakub Snopl
Jakub Snopl on 4 Mar 2022
Thank you, I already found this. I was just curious if anything like this exists in MATLAB library.
Torsten on 4 Mar 2022
This requires expert knowledge.
If you have a licence for this toolbox, you should contact MATLAB support for clarification.

Sign in to comment.

Answers (1)

Anshuman on 31 Jan 2024
Hi Jakub,
MATLAB provides functions to perform transformations between different reference ellipsoids, which are typically used in geodetic computations. The transformations can involve converting geodetic coordinates (latitude, longitude, height) from one ellipsoid to another.
Mapping Toolbox includes functions like "geodetic2ecef" and "ecef2geodetic" to convert between geodetic coordinates and Earth-Centered Earth-Fixed (ECEF) coordinates, based on a specified reference ellipsoid. It can be done in the following way:
% Convert geodetic coordinates on ellipsoid A to ECEF coordinates
[xA, yA, zA] = geodetic2ecef(ellipsoidA, latA, lonA, hA);
% Convert ECEF coordinates to geodetic coordinates on ellipsoid B
[latB, lonB, hB] = ecef2geodetic(ellipsoidB, xA, yA, zA);


Community Treasure Hunt

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

Start Hunting!