フィルターのクリア

logical matrix Centroid method

1 回表示 (過去 30 日間)
sunghyun chung
sunghyun chung 2019 年 11 月 20 日
Hello
I would like to perform below process
**before
0 0 0 0 0 0 0 0 0 0 0
0 1 1 1 0 0 0 0 0 0 0
0 0 1 1 0 0 0 1 1 0 0
0 0 0 0 0 0 0 1 1 0 0
0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 0 0
0 0 0 0 0 0 1 1 1 0 0
0 0 0 0 0 0 1 1 1 0 0
*after
0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0 0 0 0
what would be the best approach to make this kind of centroid process?
thank you

回答 (0 件)

カテゴリ

Help Center および File ExchangeTime Series についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by