Filter löschen
Filter löschen

Bug in 2020a using "ismember"?

4 Ansichten (letzte 30 Tage)
J AI
J AI am 23 Jun. 2020
Kommentiert: dpb am 24 Jun. 2020
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 Kommentare
J AI
J AI am 24 Jun. 2020
Bearbeitet: J AI am 24 Jun. 2020
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 am 24 Jun. 2020
'S OK...sometimes just the conversation is good enough... :)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by