How do you count points above the horizontal line?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everyone. Could you please help me write code to count points above the horizontal red line. Thanks.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/334473/image.jpeg)
댓글 수: 0
채택된 답변
Arthur Roué
2020년 7월 20일
% Data array
Data = [....]
% Treshold
Limit = 0;
% Count
AboveLimit = sum(Data > Limit)
댓글 수: 7
Arthur Roué
2020년 7월 20일
I require some time to analyze your issue, can you create another MATLAB question ? This way, maybe me or another user will help you
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!