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

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

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by