Ashley,
Not sure why FEX didn't have the date2doy. Should have been updated last January 18th, but something must have gone wrong there. I resubmitted the function.
Comment only
27 Apr 2009
Date to Decimal Day of Year
Convert a vector of MATLAB serial dates to decimal days since the start of the year.
The file that I downloaded is called date2julian when it should be called date2doy according to the file information.
I was looking for a function to convert from MATLAB serial date format to a day of year (1-365) and this one does that. It is just that the file name and documentation is misleading witht he mention of Julian dates.
Comment only