How do you count points above the horizontal line?

1 Ansicht (letzte 30 Tage)
Afua Amoako Dadey
Afua Amoako Dadey am 20 Jul. 2020
Hello everyone. Could you please help me write code to count points above the horizontal red line. Thanks.

Akzeptierte Antwort

Arthur Roué
Arthur Roué am 20 Jul. 2020
% Data array
Data = [....]
% Treshold
Limit = 0;
% Count
AboveLimit = sum(Data > Limit)
  7 Kommentare
Arthur Roué
Arthur Roué am 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by