Sorting and storing character and numeric values
显示 更早的评论
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 个评论
Azzi Abdelmalek
2014-5-5
How your data looks like? post samples of your data.
Matt
2014-5-5
Sara
2014-5-5
do you want to order only the numeric values, disregarding the order of the text?
Matt
2014-5-5
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!