find same pair values from two variables
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mubashir
am 25 Apr. 2017
Kommentiert: Stephen23
am 25 Apr. 2017
I have two variables, each variable consist of two columns but different rows Now i have to match pairs in row whether which pairs are common in both variables or not? Attached figure shows variable with two values. Thanks
1 Kommentar
Stephen23
am 25 Apr. 2017
Do NOT use ismember
Those are floating point values. It would be an extremely bad idea to use ismember on floating point values, because ismember tests for equivalence of the values. Really bad idea:
Those values should be compared using a tolerance, or with ismembertol.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Whos finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!