if i have to array how to match them ?

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

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.

Asked:

on 3 May 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!