WGS 84 to SWEREF

Converts coordinates from WGS 84 (NMEA) to projected coordinates in SWEREF99 TM.

You are now following this Submission

Converts coordinates from WGS 84 (NMEA) to projected coordinates in Swedish reference frame SWEREF99 TM.

Also converts the height to RH 2000.

Usage:
[NArray, EArray, ZArray] = sweref(northLat,eastLong,height)

Accepts both decimal-degrees (dd.ddddd) and "NMEA-format" (ddmm.mmmmmm).

Calculations are made accordning to instructions found on www.lantmateriet.se. The accuracy of the result is unknown but it seems to work fine for general GPS-applications with +3 meter accuracy. No guarantees tough.

Cite As

Fredrik (2026). WGS 84 to SWEREF (https://www.mathworks.com/matlabcentral/fileexchange/36945-wgs-84-to-sweref), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0