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.

Antworten (1)

the cyclist
the cyclist am 17 Nov. 2015
Bearbeitet: the cyclist am 17 Nov. 2015

0 Stimmen

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

Kategorien

Tags

Gefragt:

am 17 Nov. 2015

Bearbeitet:

am 17 Nov. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by