Number of columns in matrix
nc = numcols(m) is the number of columns in the matrix m.
numrows, size
Robotics Toolbox for MATLAB © 1990-2014 Peter Corke.