tupper = datetime
01-Sep-2014
Create a datetime array and determine whether the values lie within the interval bounded by t1
and t2.
A = datetime(2014,08,21) + calweeks(0:2)
A = 1x3 datetime
21-Aug-2014
28-Aug-2014
04-Sep-2014
tf = isbetween(A,tlower,tupper)
tf = 1x3 logical array
1
1
0
See Also
isbetween
More About
•
“Array Comparison with Relational Operators” on page 2-29
Compare Dates and Time
7-35
Précédent

- 289/1450

Suivant