Rank: 39071 based on 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

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com