Hi
I have an matrix with the occurence of frequency. How can i store the data in vector in ascending Order.

답변 (1개)

the cyclist
the cyclist 2015년 11월 17일
편집: the cyclist 2015년 11월 17일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

태그

질문:

2015년 11월 17일

편집:

2015년 11월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by