sorting the matrix lexicographically using the radix sort.

1 回表示 (過去 30 日間)
Raman
Raman 2013 年 4 月 27 日
i've a matrix
[ 1 2 34 56 78
21 32 54 55 21
10 43 33 95 98
76 63 82 33 21 ]
i want to sort the above matrix using radix sort lexicographically. can anyone help me?
  2 件のコメント
Raman
Raman 2013 年 4 月 30 日
help me plz.....
Jan
Jan 2013 年 4 月 30 日
Please post, what you have tried so far. Does "lexicographically" has any meaning here? Why is radix-sorting important, when Matlab offers a quicksort already? The only idea I have is, that this is a homework. And then posting solutions would be a bad idea.

サインインしてコメントする。

回答 (1 件)

Ali Khayeat
Ali Khayeat 2013 年 6 月 24 日
Hi,
Is there any answer ?
The lexicographical sorting is vital for many projects.

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by