issquare
- :
tf =issquare(x)¶ -
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 true if x is a 2-D square array (
size (x)is[N, N]).MATLAB has no
issquare; portable code can useismatrix (x) && size (x, 1) == size (x, 2).