Method Reference: calendarDuration.ismatrix

calendarDuration: TF = ismatrix (calD)

Return true if calendarDuration array is a 2-D array.

TF = ismatrix (calD) returns a logical scalar TF, which is true if the calendarDuration array calD is a matrix and false otherwise. A matrix is an array of any type where ndims (X) == 2 and for which size (X) returns [H, W] with non-negative H and W.

Source Code: calendarDuration