<< isnan Elementary functions isscalar >>

isrow


Determine whether input is row vector.


Syntax


tf = isrow(V)

Input argument


V

a variable

Output argument


tf

logical: result of 'isrow'.

Description


isrow(V) returns logical true if size(V) returns [1, n] with a nonnegative integer value n, and logical false otherwise.

Example


isrow([1:4])
isrow([1:4]')

See also


iscolumn.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< isnan Elementary functions isscalar >>