Calendar date to Day of the year

버전 1.0.0.0 (1.48 KB) 작성자: Pankaj Dey
This function converts the calendar date to Julian Date.
다운로드 수: 118
업데이트 날짜: 2018/3/29

라이선스 보기

% This function will convert the calendar date to Julian Date.
%
% For example: suppose I have a date from a leap year such as 1st March
% 1904.
% The corresponding Julian Date of the calender date will be 61. Similarly,
% if I have a date of 1st March 1905 from a regular year, the Julian Date
% will be 60.
%
% Input: date: it is an array with three columns. The first, second and
% third column corresponds to year, month and day respectively.
%
% For example: Col.1 Col.2 Col.3
% Year Month Day
%
% date= 1904 3 1
% 1905 3 1
%
% Output: jd: values in the rows indicates the Julian date of every
% elements of the date input vector.
%
%
% Please Note that in this function there are two .mat file namely
% "leap_year" and "normal_year". Keep it in the same folder of the data
% analysis for working of this code.

인용 양식

Pankaj Dey (2024). Calendar date to Day of the year (https://www.mathworks.com/matlabcentral/fileexchange/63642-calendar-date-to-day-of-the-year), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

date2julian/

버전 게시됨 릴리스 정보
1.0.0.0

The files leap_year and normal_year are uploaded
The name of the file is changed to the current form.