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?

回答 (1 件)

Star Strider
Star Strider 2018 年 12 月 8 日

0 投票

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.

質問済み:

2018 年 12 月 8 日

回答済み:

2018 年 12 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by