Code covered by the BSD License  

Highlights from
Lunar Azimuth and Altitude Estimation Algorithm

4.0

4.0 | 2 ratings Rate this file 13 Downloads (last 30 days) File Size: 4.26 KB File ID: #22992
image thumbnail

Lunar Azimuth and Altitude Estimation Algorithm

by Darin Koblick

 

15 Feb 2009 (Updated 18 Aug 2010)

Predict the Lunar Azimuth and Altitude within +/- .2 deg of any lat and lon for a given UTC

| Watch this File

File Information
Description

This algorithm will accept a Latitude, Longitude and Altitude location as well as a specific universal coordinated time. It will use this information and calculate the position of the moon in a local coordinate frame (az and alt aka az and el).

Example Function Call:
[Az El] = LunarAzEl('1991/05/19 13:00:00',50,10,0)

Input List:
UTC Date and Time - Use format YYYY/MM/DD hh:mm:ss
Latitude - Site Latitude in degrees -90:90 -> S(-) N(+)
Longitude - Site Longitude in degrees -180:180 W(-) E(+)
Altitude - Site Altitude in km

Output List:
Az - Lunar Azimuth angle in degrees
El - Lunar Elevation/Altitude Angle in degrees

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.
Comments and Ratings (2)
08 Apr 2009 vikram singh

hi,

where are you using
LunarPLon
LunarPLat
LunarPDist

.... if I dont use these....will it affect the Az, El values.

17 Aug 2010 Martin Fuchs

Altitude - Site Altitude in km... I miss that inside the code :-(

Please login to add a comment or rating.
Updates
18 Feb 2009

Modified the RA DEC to Az Alt conversion.

05 Mar 2009

Bug Fix: Azimuth quadrant check in LunarAzEl

14 Apr 2009

Enhanced modeling fidelity of the lunar orbit by adding large perturbation terms.

18 Aug 2010

Updated to make use of the site altitude

Tag Activity for this File
Tag Applied By Date/Time
aerospace Darin Koblick 17 Feb 2009 17:22:36
astronomy Darin Koblick 17 Feb 2009 17:22:36
moon Darin Koblick 17 Feb 2009 17:22:36
lunar Darin Koblick 17 Feb 2009 17:22:36
azimuth Darin Koblick 17 Feb 2009 17:22:36
elevation Darin Koblick 17 Feb 2009 17:22:36
az Darin Koblick 17 Feb 2009 17:22:36
el Darin Koblick 17 Feb 2009 17:22:36
altitude Darin Koblick 17 Feb 2009 17:22:36
utc Darin Koblick 17 Feb 2009 17:22:36
julian date Darin Koblick 17 Feb 2009 17:22:36
lat Darin Koblick 17 Feb 2009 17:22:36
lon Darin Koblick 17 Feb 2009 17:22:36
latitude Darin Koblick 17 Feb 2009 17:22:36
longitude Darin Koblick 17 Feb 2009 17:22:36
alt Darin Koblick 17 Feb 2009 17:22:36
darin Darin Koblick 17 Feb 2009 17:22:36
koblick Darin Koblick 17 Feb 2009 17:22:36
jd Darin Koblick 17 Feb 2009 17:22:36
gmt Darin Koblick 17 Feb 2009 17:22:36
azimuth mortimer 45 22 Apr 2009 13:30:22

Contact us at files@mathworks.com