|Date:||Fri, 10 Dec 2004 05:35:22 -0600|
I am using the function datenum written by Paul Kienzle (Copyright 2000) but I’ve got some trouble with it.
Indeed, when I type datenum(2000,1,1), I get 730485 whereas with Matlab, I get 730486.
More important, in the application I am using, I’ve got the following lines:
In Matlab as in Octave, the first line does work as it gives: da(2) = 12, da(3)=10.
Now, if as expected, DateOfYear=345 with Matlab, I get DateOfYear=-1 with Octave.
So, would you know where it comes from?
|[Prev in Thread]||Current Thread||[Next in Thread]|