How to filter out values which are greater than a defined threshold?
이전 댓글 표시
Dear all
I would like to ask how I can filter out the values in a given dataset. For eg: I have the following data:
max= 0.0390719994902611
0.0769229978322983
0.0561660006642342
0.0695969983935356
0.0720390006899834
0.0463979989290237
0.0317460000514984
0.0293039996176958
0.0317460000514984
0.0280830003321171
0.0378509983420372
I want to see how many values have exceed the threshold of 0.05 in this. Thanks for the help.
채택된 답변
추가 답변 (1개)
Image Analyst
2013년 1월 6일
편집: Image Analyst
2013년 1월 6일
To see "how many values have exceed the threshold of 0.05" you can use this code:
howManyValues = sum(max_value>0.05);
카테고리
도움말 센터 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!