close
How to get the size of a Matrix
Assume L is a 2-dimensional Matrix ,
We can use the function size() to return the size of the Matrix.
for Example:
L = [2 3];
s = size(L).
rowSize = s(0) // We can get the row size of matrix L.
columeSize = s(1) is the column size of matrix L.
全站熱搜
留言列表