d = size(X)
[m n] = size(X)
m = size(X,1)
n = size(X,2)
d
=
size(X)
, where X
is an m
-by-n
matrix, returns a vector with two integer components, d
=
[m n].
[m n]
=
size(X)
size
returns the two integers in two separate variables.
With a second input argument
m
=
size(X,1)
returns the row size of X
.
n
=
size(X,2)
returns the column size of X
.
exist
,length
,whos
(c) Copyright 1994 by The MathWorks, Inc.