Sorting and storing character and numeric values
Mostrar comentarios más antiguos
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 comentarios
Azzi Abdelmalek
el 5 de Mayo de 2014
How your data looks like? post samples of your data.
Matt
el 5 de Mayo de 2014
Sara
el 5 de Mayo de 2014
do you want to order only the numeric values, disregarding the order of the text?
Matt
el 5 de Mayo de 2014
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Shifting and Sorting Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!