300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > 日出日落 matlab 如何计算日出和日落时间(matlab)?

日出日落 matlab 如何计算日出和日落时间(matlab)?

时间:2021-03-13 17:58:13

相关推荐

日出日落 matlab 如何计算日出和日落时间(matlab)?

因此,我已经从

NOAA’s website提供的Excel工作表中反向设计了这些功能.

干得好.它计算了明显(折射校正)的日出和日落,准确像瑞士手表:

function sun_rise_set = sunRiseSet( lat, lng, UTCoff, date)

%SUNRISESET Compute apparent sunrise and sunset times in seconds.

% sun_rise_set = sunRiseSet( lat, lng, UTCoff, date) Computes the *apparent** (refraction

% corrected) sunrise and sunset times in seconds from mignight and returns them as

% sun_rise_set. lat and lng are the latitude (+ to N) and longitude (+ to E), UTCoff is the

% local time offset to UTC in hours and date is the date in format dd-mmm-yyyy ( see below for

% an example).

%

% EXAMPLE:

% lat = -23.545570; % Latitude

% lng = -46.704082; % Longitude

% UTCoff = -3; % UTC offset

% date = 15-mar-;

%

% sun_rise_set = sunRiseSet( lat, lng, UTCo

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。