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

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by