Returns the dimensions of an input.
c = size(a)
d = size(a, dim)
[m, n] = size(a)
[m, n, ...] = size(a)
Scalar or array of any dimension.
Dimension whose size you want to return. dim can be in a range of 1 to the maximum supported array dimension (32).
Dimensions of a.
Size of the dim dimension of a. d is a scalar.
Size of the first dimension of a. m is a scalar.
Size of the second dimension of a. n is a scalar.
Size of further dimensions. ... is a scalar.
A = [1, 4; 53, 16; 0, -81] C = size(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices