Clear Filters
Clear Filters

How do you count points above the horizontal line?

3 views (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
Arthur Roué
Arthur Roué on 20 Jul 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

Sign in to comment.

More Answers (0)

Categories

Find more on Timetables in Finance in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!