iscolumn
Tests if v is a column vector of dimension M x 1, where M is a non-negative integer.
Syntax
R = iscolumn(v)
Inputs
- v
- The input to be tested to determine if it is a column vector.
Outputs
- R
- R is a logical value indicating whether v is a column vector.
Examples
R = iscolumn([1 + i; 2])
R = 1
R = iscolumn([1,2,3])
R = 0