Info

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

if i have to array how to match them ?

2 views (last 30 days)
Firas Al-Kharabsheh
Firas Al-Kharabsheh on 3 May 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
CS Researcher
CS Researcher on 4 May 2016
Edited: CS Researcher on 4 May 2016
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"?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!