필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
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

답변 (1개)

Walter Roberson
Walter Roberson 2015년 6월 5일
See randperm()

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by