|Code Listing by Gunnar Aronsen|
M-file that calculate weeknumber based on a date. Date can be given as scalar or a vector. Datevalues can also be provided as textvalues, but then must a second variable describing the that format also be read in.
In addtion can a third variable be sat to true or false, and this will add year number to the output.
Given the date 01.01.2011, the function will return [52 2011].
Function that take datevalue/datevector as argument, and return number of hours for each day.
The user can also give datevalues that correspond to hourly values, and get at correction term in order to correct hour values in DST-format...
Write a matrix to active Excel-session. Input is filename, sheetname and range to write to in addition to the matrix that should be written to the Excel file.
Some simple checks are implemented.
Partly based on code from...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.