sorting the matrix lexicographically using the radix sort.

2 次查看(过去 30 天)
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 个评论
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 CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by