Bug in 2020a using "ismember"?

2 次查看(过去 30 天)
J AI
J AI 2020-6-23
评论: dpb 2020-6-24
When I am trying to use the "ismember" command in 2020a, I get werid stuffs. e.g.,
A = [1 2 3;
4 5 6;
7 8 9];
B = [4 5 6];
[Result,LocResult] = ismember(B,A,'rows')
is giving me
Result =
logical
0
LocResult =
0
Am i doing something wrong here? I was expecting to get
Result =
1
LocResult =
2
  5 个评论
J AI
J AI 2020-6-24
编辑:J AI 2020-6-24
I had past problems where restart worked but nothing of this sort. must be magic! I am not sure how to accept comment as an answer though
dpb
dpb 2020-6-24
'S OK...sometimes just the conversation is good enough... :)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by