Week numbering
Version 1.0.0.0 (1.94 KB) by
Peter Lindberg
A function for creating a matrix containing a specified years dates ordered in weeks.
A function for creating a matrix containing a specified years dates ordered in weeks, ie, row 1 is week 1, row 10 is week 10.
There are 7 columns, col1 = Monday, col2 = Tuesday,...col7 = Sunday. A very practical function if you must keep track of weeks and calculations based on weeks. The weeknumbering follows the ISO 8601 standard, where week 1 is set by the years first thursday
Cite As
Peter Lindberg (2024). Week numbering (https://www.mathworks.com/matlabcentral/fileexchange/26223-week-numbering), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Dates and Time in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |