[Top][All Lists]

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

Re: the last saturday in the month

From: gciriani
Subject: Re: the last saturday in the month
Date: Tue, 7 Aug 2018 08:41:54 -0500 (CDT)

The reason you get the vector 1 0 0 is that datestr(733546,8) is the string
"Sun" and you are comparing it to the string "Sat". String comparison then
treats the comparison as a vector with each element of the vector 1 if the
letters in that position are identical, or 0 if they are different.

Giovanni Ciriani - Windows 10, Octave 4.2.1, configured for x86_64-w64-mingw32
Sent from:

reply via email to

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