Skip to content

columns

general · scripts/general/columns.m

: nc = columns (a)

Clean-room Octave-compat helper. MATLAB-valid % comments so the file parses under MATLAB-strict user addpath as well as under the shipped scripts tree. Return the number of columns of a.

Equivalent to size (a, 2).