How to parcours data?

1 ビュー (過去 30 日間)
Mira le
Mira le 2020 年 2 月 11 日
回答済み: Bhaskar R 2020 年 2 月 11 日
I have a cell array SI
[1 31 36]
[1 31]
2
[1 67]
[1 41]
[1 31 36 5 90]
[1 31 36 23 90]
[1 31 36 38 94]
[1 36 41 79 67]
[1 31 36 24 90 38]
[1 31 41 38 90 23]
and another database called T
like this
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74
1 3 5 7 9 12 13 15 17 19 21 23 25 27 29 31 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74
1 3 5 7 9 12 13 16 17 19 21 23 25 27 29 31 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74
1 3 5 7 9 11 13 15 17 20 21 23 25 27 29 31 34 36 38 40 42 44 47 48 50 52 54 56 58 60 62 64 66 68 70 72 74
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 34 36 38 40 42 44 46 48 51 52 54 56 58 60 62 64 66 68 70 72 74
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 34 36 38 40 42 44 46 48 51 52 54 56 5
I want to check if all values of SI contains in each line of T
How can I do that?
please help me!

回答 (1 件)

Bhaskar R
Bhaskar R 2020 年 2 月 11 日
You can use ismember function to find as you require

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by