Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 5 Jun 2015
See randperm()

This question is closed.

Community Treasure Hunt

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

Start Hunting!