Scilab-Branch-6.1-GIT
Aide de Scilab >> Fonctions Elémentaires > Matrice - façonnage > is<forme> > isvector
isvector
check if a variable is a vector
Syntax
t=isvector(x)
Arguments
- x
vector or matrix
- t
a boolean
Description
isvector(x)
returns true if x
is a vector (only one of its dimension is different from 1).
Examples
isvector(ones(10,1)) isvector(1)
Comments
Add a comment:
Please login to comment this page.