Hello everybody,
Thank you for the interest for my question and your help I am not successful to find an algorithm which permits to get unique coupled-values in a two-rows vector. Here is the example:
vect=[1 599 256 599 256 0 0 0 0 0 324 599 256 256 599171 171 150 171 150 150 171 0 0 0 171 150 0 171 150 ]
The results that I want is
res= [ 1 599 256 0 0 324 599 256 256 171 171 150 150 171 171 150 0 171 ]
Could you please provide an algorithm for me ?
Thanks in advance,
gringoire lee
Best Answer