isvector
Checks input is vector.
📝Syntax
tf = isvector(M)
📥Input Arguments
Parameter Description
M a variable
📤Output Arguments
Parameter Description
tf logical: result of 'isvector'.
📄Description

isvector returns an scalar logical if entry is an vector.

💡Examples
A = eye(3, 3);
R = isvector(A)
R = isvector(A(:,1))
🔗See Also
isempty
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub