Convert from geographic to geomagnetic coordinates

A MATLAB function that converts from geographic to geomagnetic coordinates
195 download
Aggiornato 19 nov 2021

Visualizza la licenza

This is a MATLAB function that computes the geomagnetic latitudes of a location using the geographic coordinates of the location.
The syntax is:
geom_lat = geog2geom(geog_lat, geog_long, height, decimalYear)
The inputs are:
geog_lat: Geographic latitude, specified as a scalar or vector, in degrees. North latitude is positive and south latitude is negative.
geog_long: Geographic longitude specified as a scalar or vector, in degrees. East longitude is positive and west longitude is negative.
height: Distance from the surface of the Earth, specified as a scalar or vector, in meters.
decimalYear: Year, in decimal format, specified as a scalar or vector. This value can have any fraction of the year that has already passed.
The geog_lat, geog_long, height, and decimalYear arguments must all be the same size (scalars or vectors).
The output is:
geom_lat: Geomagnetic latitude, specified as a scalar or vector, in degrees. North latitude is positive and south latitude is negative.
The size of geom_lat is same as the size of each of the inputs

Cita come

Daniel Okoh (2024). Convert from geographic to geomagnetic coordinates (https://www.mathworks.com/matlabcentral/fileexchange/102219-convert-from-geographic-to-geomagnetic-coordinates), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2019b
Compatibile con R2015b e release successive
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0