matlab descending order algorithm without sort function
Show older comments
i want to know how to descending order (1Xn) matrix without sort function.
for example A=[1 3 6 9 8 5 10 2]
2 Comments
Bjorn Gustavsson
on 31 Oct 2017
Why not use sort when someone paid to give you a software that has that function? Homework? If homework just look up any of the algorithms for sorting and implement (one of) them...
Andrei Bobrov
on 31 Oct 2017
homework?
Accepted Answer
More Answers (2)
KSSV
on 31 Oct 2017
0 votes
Rediet Tesfu
on 27 Sep 2019
0 votes
How do i print out vector in order
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!