Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to take out two random equal column in different matrix

1 Ansicht (letzte 30 Tage)
amina shafanejad
amina shafanejad am 30 Apr. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by