Removing repeating data points
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ive got two matrices of different sizes; matrix A is smaller than Matrix B
Some of the numbers in Matrix A are in Matrix B i want to remove these, how can i do this?
0 Kommentare
Antworten (1)
Andrei Bobrov
am 26 Nov. 2012
A = randi(10,3)
B = randi(10,5)
A(ismember(A(:),B(:))) = nan
0 Kommentare
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox 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!