Rank: 2432 based on 49 downloads (last 30 days) and 1 file submitted
photo

Ashley

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Ashley
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 May 2009 Day of Year to MATLAB date Converts a day of year number and a year to a date in MATLAB format Author: Ashley date, day of year, doy, time, convert, clock 49 1
  • 5.0
5.0 | 4 ratings
Comments and Ratings by Ashley View all
Updated File Comments Rating
22 May 2009 Date to Decimal Day of Year Convert a vector of MATLAB serial dates to decimal days since the start of the year. Author: Anthony Kendall

I just submitted a doy2date.m. Thanks to both Anthony and James for the inspiration.

22 May 2009 Date to Decimal Day of Year Convert a vector of MATLAB serial dates to decimal days since the start of the year. Author: Anthony Kendall

I am giving this a higher rating now because it is named properly and the new code can handle vectors. Thanks!

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. Author: Anthony Kendall

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.

Comments and Ratings on Ashley 's Files View all
Updated File Comment by Comments Rating
15 Sep 2014 Day of Year to MATLAB date Converts a day of year number and a year to a date in MATLAB format Author: Ashley D

02 Feb 2012 Day of Year to MATLAB date Converts a day of year number and a year to a date in MATLAB format Author: Ashley Liisa

24 Oct 2011 Day of Year to MATLAB date Converts a day of year number and a year to a date in MATLAB format Author: Ashley alexzhao zhao

06 Oct 2011 Day of Year to MATLAB date Converts a day of year number and a year to a date in MATLAB format Author: Ashley Salman

Your script was helpful in finding out the "key" 3 lines of code that did the job for me:
z = zeros(length(yearV),5);
dv = horzcat(yearV,z);
dateV = doyV + datenum(dv);

Contact us