I would like to pick the consecutive cells those satistfies my given condition
5 ビュー (過去 30 日間)
古いコメントを表示
Poorna Durga Geesupalli
2022 年 5 月 11 日
コメント済み: Poorna Durga Geesupalli
2022 年 5 月 13 日
I have a array of 122 by 10 data set. I have given the criteria to pick the cells whose values are greather than equal to 1.
Now I would like to pick the cells which satisfies the above condition and those satisfies cells are consecutively aranged.
For Ex: Cell 25,26,27,31 are satisfiying the above creiteria . But I wanted to highligh or list out the greter than or equal to 3 consecutive cells, which mean it has to highlight cell25,26,27
1 件のコメント
Matt J
2022 年 5 月 11 日
Consecutively along columns? And, to be clear, when you say "cell" you don't really mean a cell array, right?
採用された回答
Matt J
2022 年 5 月 11 日
編集済み: Matt J
2022 年 5 月 11 日
You might benefit from downloading,
Then you can label consecutive groups of true elements with, e.g.,
a=rand(1,10)+randi([0,1],1,10)
G=groupTrue(a>1)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!