日出日落 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-2017';

%

% sun_rise_set = sunRiseSet( lat, lng, UTCo

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值