Rank: 41276 based on 0 downloads (last 30 days) and 0 files submitted
photo

Hanno Ix

E-mail

Personal Profile:
Professional Interests:
navigation

 

Watch this Author's files

 

Comments and Ratings by Hanno
Updated File Comments Rating
28 Aug 2009 Sun Azimuth Data A script for generation of an ASCII File (Report) containing Sun Azimuth Data. Author: Khalil Sultan

Using the data suggested in the initial comment of this m-file I received results different from the suggested results:

location.longitude = -105.1786;
location.latitude = 39.742476;
location.altitude = 1830.14;
time.year = 2003;
time.month = 10;
time.day = 17;
time.hour = 12;
time.min = 30;
time.sec = 30;
time.UTC = -7;

sun = sun_position(time, location);
%
% sun =
%
% zenith: 50.1080438859849
% azimuth: 194.341174010338

RESULTS SEEN HERE:

>> sun
sun =
     zenith: 50.107627161847546
    azimuth: 1.943412241230940e+002

I am using MATLAB vs. 7.6.0.324 (R2008a). I wonder if there is anyone who has seen a comparable discrepancy and if/how this was resolved.

Regards

Contact us at files@mathworks.com