mydate

Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS
1.3K 次下载
更新时间 2018/5/25

查看许可证

Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS.
The base date or reference epoch is brought closer to contemporary dates for improved precision (from MATLAB's year 0 to epoch 2000.0); the base unit is also changed (from multiples of days to seconds).
Epoch values are retained as a serial scalar real number so that manipulation is easier compared to handling epoch parts separately (e.g., using intersect() to find common epochs).
File naming follows MATLAB's own as close as possible with an obvious prefix. MATLAB's own functions are used internally whenever possible.
Vector (non-scalar) input is supported.
Unzip the file into, e.g., 'c:\work\fx\mydate\'; make sure the directory structure is preserved. Then type
addpath(genpath('c:\work\fx\mydate'))
(not to be confused with addpath(genpath('c:\work\fx\mydate\mydate')))
Please run test_mydate to check your installation.
The first function to try is mydatenum().
Julian day conversions follow from Peter Baum's excellent "Date algorithms", available at http://mysite.verizon.net/aesir_research/date/date0.htm

Please type doc datenum for background.

引用格式

Felipe G. Nievinski (2024). mydate (https://www.mathworks.com/matlabcentral/fileexchange/31065-mydate), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dates and Time 的更多信息
致谢

参考作品: testit

启发作品: geod -- yet another geodetic toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.4.2.0

bug fixes and new functions.

1.4.0.0

included missing routine (mat2cellrow.m)

1.3.0.0

added H1 lines

1.2.0.0

some default values for optional input arguments

1.0.0.0