Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to take out two random equal column in different matrix

1 次查看(过去 30 天)
i have two different matrix and one 10*10 environment which it generate nodes randomly and put the coordinates of nodes inside the both matrix the dimension of matrixes are N(2,n) and M(2,n),how can i command that in matlab like this example
size=1
while size<n
if M(1,size)=N(1,size); M(2,size)=N(1,size);
Reach=1; ReachG=size; break
end
end

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by