[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) |
Turbofib,
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: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- the last saturday in the month, turbofib, 2018/08/07
- Re: the last saturday in the month, Marco Atzeri, 2018/08/07
- Re: the last saturday in the month, gciriani, 2018/08/07
- Re: the last saturday in the month, turbofib, 2018/08/07
- Re: the last saturday in the month, Marco Atzeri, 2018/08/07
- Re: the last saturday in the month, turbofib, 2018/08/07
- Re: the last saturday in the month, gciriani, 2018/08/07
- Re: the last saturday in the month, turbofib, 2018/08/07
- Re: the last saturday in the month, gciriani, 2018/08/07