Method Reference: calendarDuration.isvector

calendarDuration: TF = isvector (calD)

Return true if calendarDuration array is a vector.

TF = isvector (calD) returns a logical scalar TF, which is true if the calendarDuration array calD 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: calendarDuration