ab.org
Betreff: Re: [Scilab-users] Get duplicates of a vector
Hi,
B=unique(A)(members(unique(A), A)==2);
Regards,
Roland
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lis
Hi,
B=unique(A)(members(unique(A), A)==2);
Regards,
Roland
--
Sent from:
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Hello,
I want to get the duplicates of a vector. Lets say I have a vector as follows:
A = [ 1 5 3 2 3 1 ];
I want to get a vector which contains the duplicates [1 3].
I found intersect, union and unique but they give me just the vector w/o the duplicates. In this example unique(A)=>