How do you count points above the horizontal line?

1 view (last 30 days)
Hello everyone. Could you please help me write code to count points above the horizontal red line. Thanks.

Accepted Answer

Arthur Roué
Arthur Roué on 20 Jul 2020
% Data array
Data = [....]
% Treshold
Limit = 0;
% Count
AboveLimit = sum(Data > Limit)
  7 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!