Need some Help.

Revision en1, by Gordon-Freeman, 2024-07-16 14:13:27

If i have a sorted vector like this v={ 5,6,7,8,9,10,11 } how can i get the number of elements that are bigger than x? lets say x is 9 so the number of elements bigger than 9 equals 2 how can i code that?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Gordon-Freeman 2024-07-16 14:13:27 221 Initial revision (published)