Frage


How to randomly select 2 rows
Hi I want to randomly select 2 rows of a matrix The matrix may have an odd number of rows How to randomly select these 2 rows...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Do not take any amount
pop=randi([100],20,8); [r1,c1]=size(pop); for i=1:r1 A=randi(100); if A<=90 pool(i,:)=pop(i,:); end e...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort