computus
This little function computes the date of Easter Sunday for present year or specific years, using Oudin's algorithm. It works for the entire Julian calendar (starting 325 AD) and Gregorian calendar (after 1583 AD). An option allows to use the Western Orthodox Church calendar instead of the default Catholic Church.
Easter day is useful to calculate other Christian feasts, like Ash Wednesday (Easter - 46), Good Friday (Easter - 2), Ascension Thursday (Easter + 39), Pentecost (Easter + 49). The function might recognise most of the Christian days related to Easter.
Examples:
>> computus
Sunday 21 April 2019
>> computus(2024)
Sunday 31 March 2024
>> computus ash
Wednesday 06 March 2019
>> computus(2020:2022,'ascension')
Thursday 21 May 2020
Thursday 13 May 2021
Thursday 26 May 2022
See help for syntax, and details.
인용 양식
François Beauducel (2024). computus (https://github.com/beaudu/computus/releases/tag/v1.2), GitHub. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- Gaming > Holidays / Seasons >
- MATLAB > Language Fundamentals > Data Types > Dates and Time > Calendar >
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.2 | See release notes for this release on GitHub: https://github.com/beaudu/computus/releases/tag/v1.2 |
||
1.1.0.1 | connect to github |
|
|
1.1.0.0 | adds main Christian dates as input argument. |
||
1.0.0.0 |