I need a help for putting random numbers in ascending order using octave will it possible? for example I have x= [5 10 2 1 8 1 3 7 5 9 10 5 8] i want to put
x= [1 1 2 3 5 5 7 8 8 9 10 10] means if numbers are repeating then it should show like given example?
could you please help me out? thanks a lot in advance.....