Previous Up Next

14.3.14  Counting elements smaller than a given value

The count_inf command counts the number of elements in a matrix which are less than a given value.

Example

count_inf(12,[2,12,45,3,7,78])
     
3           

Previous Up Next