change the order of columns in a matrix
2 views (last 30 days)
Show older comments
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
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.
Answers (1)
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..
See Also
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!