Method on @sym: iscolumn (x)

Return true if symbolic expression is a column vector.

Example:

v = sym([1; 2; 3]);
iscolumn(v)
  ⇒ 1
iscolumn(sym(1))
  ⇒ 1
iscolumn(v')
  ⇒ 0

See also: @sym/isrow, @sym/isvector, @sym/isscalar.

Package: symbolic