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