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!