Storing Data in Vector
Mostra commenti meno recenti
Hi
I have an matrix with the occurence of frequency. How can i store the data in vector in ascending Order.
Risposte (1)
the cyclist
il 17 Nov 2015
Modificato: the cyclist
il 17 Nov 2015
M = [2 3 1;
6 8 4];
sorted_M_vector = sort(M(:));
Categorie
Scopri di più su Shifting and Sorting Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!