sorting the matrix lexicographically using the radix sort.

1 Ansicht (letzte 30 Tage)
Raman
Raman am 27 Apr. 2013
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 Kommentare
Raman
Raman am 30 Apr. 2013
help me plz.....
Jan
Jan am 30 Apr. 2013
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ali Khayeat
Ali Khayeat am 24 Jun. 2013
Hi,
Is there any answer ?
The lexicographical sorting is vital for many projects.

Kategorien

Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by