Storing Data in Vector
Mostrar comentarios más antiguos
Hi
I have an matrix with the occurence of frequency. How can i store the data in vector in ascending Order.
Respuestas (1)
the cyclist
el 17 de Nov. de 2015
Editada: the cyclist
el 17 de Nov. de 2015
M = [2 3 1;
6 8 4];
sorted_M_vector = sort(M(:));
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!