How do you count points above the horizontal line?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Afua Amoako Dadey
le 20 Juil 2020
Commenté : Afua Amoako Dadey
le 20 Juil 2020
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 commentaires
Réponse acceptée
Arthur Roué
le 20 Juil 2020
% Data array
Data = [....]
% Treshold
Limit = 0;
% Count
AboveLimit = sum(Data > Limit)
7 commentaires
Arthur Roué
le 20 Juil 2020
I require some time to analyze your issue, can you create another MATLAB question ? This way, maybe me or another user will help you
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear Algebra dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!