How can I count how many entries are in a matrix?

1 回表示 (過去 30 日間)
VT Student
VT Student 2017 年 11 月 16 日
回答済み: Roger Stafford 2017 年 11 月 16 日
I am asked to count the amount of entries in a matrix and I don't know how

回答 (1 件)

Roger Stafford
Roger Stafford 2017 年 11 月 16 日
Use 'numel'.

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by