Counting numbers over a threshold in a row
Afficher commentaires plus anciens
I have 6 columns of values (about 5200 values in each column). Each column corresponds to a different location (variable). I want to count how many times there are 48 consecutive values at or above 50 in each column. I would like a single number to output for each column indicating the number of instances where a value at or above 50 occurs consecutively for 48 rows or more. Many thanks for you help.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Type Conversion dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!