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

20 views (last 30 days)
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

Accepted Answer

Stephen23
Stephen23 on 25 Nov 2021
nnz(Lake>=20)

More Answers (0)

Categories

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!