Storing Data in Vector

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
the cyclist el 17 de Nov. de 2015
Editada: the cyclist el 17 de Nov. de 2015

0 votos

M = [2 3 1;
6 8 4];
sorted_M_vector = sort(M(:));

Categorías

Etiquetas

Preguntada:

el 17 de Nov. de 2015

Editada:

el 17 de Nov. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by