Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to take out two random equal column in different matrix

1 vue (au cours des 30 derniers jours)
amina shafanejad
amina shafanejad le 30 Avr 2015
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by