David
Farruggio

MathGenie

isvector

Determine whether input is vector

Syntax and Description

isvector(A) returns logical 1 (true) if size(A) returns [1 n] or [n 1] with a nonnegative integer value n, and logical 0 (false) otherwise.

Back to functions