Week numbering

A function for creating a matrix containing a specified years dates ordered in weeks.
353 Downloads
Updated 30 Dec 2009

View License

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 Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0