Navigation

Operators and Keywords

Function List:

C++ API

isvector.m File Reference


Functions

 if (nargin==1) sz
else print_usage ()
endif endfunction !assert (isvector(1))
 !assert (isvector([1;2;3]))
 !assert (!(isvector([])))
 !assert (!(isvector([1, 2;3, 4])))
 !assert ((isvector("t")))
 !assert ((isvector("test")))
 !assert (!(isvector(["test";"ing"])))
 !assert ((isvector(s)))
!error isvector ()
!error isvector ([1, 2], 2)

Variables

function retval
!test !warn_str_to_num = 0
!test!s a = 1

Function Documentation

!assert ( (isvector(s))   ) 

!assert ( isvector(["test";"ing"])  ) 

!assert ( (isvector("test"))   ) 

!assert ( (isvector("t"))   ) 

!assert ( isvector([1, 2;3, 4])  ) 

!assert ( isvector([])  ) 

!assert ( isvector([1;2;3])   ) 

endif endfunction !assert ( isvector(1)   ) 

if ( nargin  = =1  ) 

!error isvector (  ) 

!error isvector (  ) 

else print_usage (  ) 


Variable Documentation

!test !warn_str_to_num = 0

!test ! s a = 1

retval

Initial value:

 isvector (x)

  retval = 0