Question about length function
19 ビュー (過去 30 日間)
古いコメントを表示
What does length(X) return if X is an nxm matrix?
0 件のコメント
採用された回答
Geoff Hayes
2014 年 4 月 25 日
length returns the maximum of n and m:
>> help length
length Length of vector.
length(X) returns the length of vector X. It is equivalent
to MAX(SIZE(X)) for non-empty arrays and 0 for empty ones.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!