Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

the scheduling problem must vary the elements row wise based on random numbers generated

1 visualizzazione (ultimi 30 giorni)
p=[5 4 3;3 2 1;6 5 3;4 3 2]
q=rand(4,3);
based on the rank of random numbers generated in q the values in p matrix must be interchanged row-wise. please help

Risposte (1)

Walter Roberson
Walter Roberson il 5 Giu 2015
See randperm()

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by