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.
답변 (1개)
the cyclist
2015년 11월 17일
편집: the cyclist
2015년 11월 17일
M = [2 3 1;
6 8 4];
sorted_M_vector = sort(M(:));
카테고리
도움말 센터 및 File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!