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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by