MATLAB: Convert from datenum to a date

datenum

Hi,
is ther any function which convert the serial number from the function (detenum) to the original date like .
I have a vector of date and time and i converted it with datenum. I made a plot of another variable with the date_time vector. i get just the serial number.
thnks

Best Answer

Please post any details. What format does "the original date" have? What does "I made a plot" exactly mean and where do you want the "date" to appear?
The command datestr and datevec convert datenum values to other date formats. The command datetick writes nice dates instead of serial date numbers to the ticklables of axes.