Command Reference : Function Reference : Function Reference: C
  
 
@columns
Number of columns in matrix object or group.
Syntax: @columns(x)
m: matrix, sym, group
Return: integer
Examples
matrix m1 = @mnrnd(10, 3)
scalar sc1 = @columns(m1)
assigns the value 3 to the scalar object SC1.
Cross-references
See also @rows.