Sorting and storing character and numeric values
Show older comments
Hi everyone, I'm still trying to grasp Matlab so bare with me.
I have a dataset that I import from a csv file that has one text column and the rest are float columns. What I want to do, is be able to sort the rows by the numeric values but still retain the text column. My problem is that I am not sure how to go about this. I've tried cell arrays and have had little luck. What is the ideal Matlab approach for going about this?
Thanks, mattg555
4 Comments
Azzi Abdelmalek
on 5 May 2014
How your data looks like? post samples of your data.
Matt
on 5 May 2014
Sara
on 5 May 2014
do you want to order only the numeric values, disregarding the order of the text?
Matt
on 5 May 2014
Accepted Answer
More Answers (0)
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!