datetime

Methods

Method Reference: datetime.isvector

datetime: TF = isvector (T)

Return true if datetime array is a vector.

TF = isvector (T) returns a logical scalar TF, which is true if the datetime array T is a vector and false otherwise. A vector is a 2-D array for which one of the dimensions is equal to 1 (either 1×N or N×1). By definition, a scalar is also a vector.

Source Code: datetime