FUNCTION REFERENCE

mustBeColumn

Validate that value is a column vector.

Validate that value is a column vector.

Syntax

mustBeColumn(A)

Throws an error if A is not an n-by-1 column vector.

Example

mustBeColumn([1; 2; 3])

Differences from MATLAB: None.

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