Find values that are greater than a specific number in a table

13 Ansichten (letzte 30 Tage)
In a certain table known as 'Lake', I want to find the values that are greater than 20 and for it to display the amount of numbers that are greater or equal to 20. Thanks in advance!
Btw: Lake=1:366 of a dimension

Akzeptierte Antwort

Stephen23
Stephen23 am 25 Nov. 2021
nnz(Lake>=20)

Weitere Antworten (0)

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by