Convert from geographic to geomagnetic coordinates

Versión 1.0.0 (1,52 KB) por Daniel Okoh
A MATLAB function that converts from geographic to geomagnetic coordinates
195 descargas
Actualizado 19 nov 2021

Ver licencia

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

Citar como

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. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019b
Compatible con cualquier versión desde R2015b
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0