Merging row elements into single numbers
Afficher commentaires plus anciens
If you have the 3*3 matrix
C = [3 4 5
6 7 9
1 5 8]
and you want to change it to the 3*1 matrix
C = [345
679
158]
so that you can for example sort it in descending order of the rows, how would you do this? Thank you.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!