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?

Answers (1)

Star Strider
Star Strider on 8 Dec 2018
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.

Asked:

on 8 Dec 2018

Answered:

on 8 Dec 2018

Community Treasure Hunt

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

Start Hunting!