Code covered by the BSD License  

Highlights from
Conversion between Equatorial and Ecliptic Coordinates

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 2.58 KB File ID: #23285

Conversion between Equatorial and Ecliptic Coordinates

by Dmitry Savransky

 

13 Mar 2009

Convert between the equatorial and ecliptic celestial coordinate systems.

| Watch this File

File Information
Description

[alpha,delta] = eclip2equat(lambda,beta) returns the right ascension and declination in the equatorial coordinate system corresponding to the longitudinal and latitudinal coordinates in the ecliptic coordinate system (lambda and beta).

[lambda,beta] = equat2eclip(alpha,delta) returns the longitudinal and latitudinal coordinates in the ecliptic coordinate system corresponding to coordinates of right ascension and declination (alpha and delta) in the equatorial coordinate system.

All inputs and outputs are in units of radians. longitudinal coordinates will be in the range of [-pi,pi] while latitudinal coordinates will be in the range [-pi/2, pi/2]. Inputs may be vectors but must be of equal size;

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
aerospace Dmitry Savransky 13 Mar 2009 14:04:56
astronomy Dmitry Savransky 13 Mar 2009 14:04:57
mathematics Dmitry Savransky 13 Mar 2009 14:04:57
mapping Dmitry Savransky 13 Mar 2009 14:04:57

Contact us at files@mathworks.com