Matlab. R. 陣列的維度 size(x) dim(x). 陣列的行數 length(x) ncol(x). 陣列的維數 ndims(x). 陣列元素總數 numel(m) length(x) x=[1,3,5,7,9 ; 2,4,6,8, 10].
確定! 回上一頁