connect set points in two arrays

so i have array_1 is n * 2 , and array_2 is n*2
as ever row have the coordinate of a point
and i want to connect the point number x in array_1 with point number x in array_2?

Respuestas (1)

Star Strider
Star Strider el 8 de Dic. de 2018

0 votos

I do not understand what you want to do.
It would seem that the ismember (link) function or ismembertol (link) function (for floating-point numbers) could do what you want. Use the 'rows' option.

Preguntada:

el 8 de Dic. de 2018

Respondida:

el 8 de Dic. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by