FUNCTION REFERENCE

isvector

True for vectors.

True for vectors.

Syntax

isvector(A)

Returns true if A has one row or one column.

Example

isvector([1 2 3])   % true

Differences from MATLAB: Uses the simple rule rows == 1 or columns == 1.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.