Hi everyone, Just would like to know how to convert decimal year (e.g. 1988.903) into julian day or as a vector that tell me the month and the day? I get the idea that from the above example I have the year 1988 and that I should convert 0.903 into month etc… however I really do have an issue in that regards.
when doing: t=[1988.903, 1988.974, 1988.998]; x=datevec(t); or x=datestr(t,'dd-mm-yy'); –> it gives me for all 10 June 2005… which is not correct …
Any idea is welcome here, Many thanks, S.
Best Answer