Info

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

if i have to array how to match them ?

조회 수: 1 (최근 30일)
Firas Al-Kharabsheh
Firas Al-Kharabsheh 2016년 5월 3일
마감: MATLAB Answer Bot 2021년 8월 20일
if i have
Random_matrix = [ [ 1 1 1;3 2 1; 1 1 0] ,[0 3 2;2 3 1; 1 2 2],[3 2 2; 2 1 2; 1 2 2],[3 3 2 ; 2 1 2; 2 2 3];
and if i found
value = [ 15 12 3 6 ]
how can i match the matrix in the Random_matrix with the value if the
first value for first matrix
second value for second matrix
how can i sort value like that [3 6 12 15] which the matrix will change there position depend on their positions value
  댓글 수: 1
CS Researcher
CS Researcher 2016년 5월 4일
편집: CS Researcher 2016년 5월 4일
I did not understand the problem completely. Can you explain? What do you mean when you say, "how can i match the matrix in the Random_matrix with the value if the first value for first matrix, second value for second matrix"?

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by