Be the first to rate this file! 2 Downloads (last 30 days) File Size: 1.94 KB File ID: #26223

Week numbering

by Peter Lindberg

 

30 Dec 2009

A function for creating a matrix containing a specified years dates ordered in weeks.

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
week Peter Lindberg 30 Dec 2009 11:26:58
weeknumber Peter Lindberg 30 Dec 2009 11:26:58
iso 8601 Peter Lindberg 30 Dec 2009 11:26:58

Contact us at files@mathworks.com