help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to inspect Datenum code


From: Nicholas Jankowski
Subject: Re: How to inspect Datenum code
Date: Wed, 6 Sep 2017 10:44:52 -0400

On Wed, Sep 6, 2017 at 10:33 AM, gciriani <address@hidden> wrote:
Found the code at C:\Octave\Octave-4.2.1\share\octave\4.2.1\m\time\datenum.m

Now the hard part, understanding what goes wrong. The corresponding code
does the following
monthstart (mod (month-1,12) + 1)
and according to to the error message the subscript
mod (month-1,12) + 1
equates to 1.5


hard to troubleshoot blind, if you're getting 1.5 out, then i guess you're putting 1.5 + n*12 in.  If that's not expected, then you need to see what you're passing

from you're previous email, i guess it's coming from your function Brier. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]