change the order of columns in a matrix

1 view (last 30 days)
maryam
maryam on 18 Feb 2015
Commented: Michael Haderlein on 18 Feb 2015
hi friends. i have a 8000*300 matrix. i want to change the order of columns so that the most similar columns stand together. could any body help me on this? thank you
  3 Comments
maryam
maryam on 18 Feb 2015
for example these are 2 pictures of column 21 and 53. i want data of these columns beside each other. i dont know how to define similarity. any suggestion?
Michael Haderlein
Michael Haderlein on 18 Feb 2015
What is the feature which is important? How do the other columns look like? Does "similarity" mean that you have a strong gradient after x=4000? Does it mean the plateau is around 0.7? Does it mean you have a negative peak after the first big incline? There are so many possibilities, we cannot know what's the point here.

Sign in to comment.

Answers (1)

khan
khan on 18 Feb 2015
What do you mean by most similar? Although one thing is that you can order it in aascending or descending order. You will have most similar together..
  1 Comment
maryam
maryam on 18 Feb 2015
Edited: maryam on 18 Feb 2015
please look at above pictures. do you think i should use clustering method? i dont know any thing about clustering :(

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!