Size

Parent Previous Next

Size


Size of matrix



Syntax


size(x)

x is scalar or matrix

Return a 2 elements row vector which represents the size of the matrix. The first element is row count and the second is column count.


Examples


Input

Output

size([2, 5 , -2 + i, 0])

size([2, 0, 5; i, 3, -0.2])


See Also


Created with the Personal Edition of HelpNDoc: Easy EBook and documentation generator