For example with an array like X that is:
X=[10 3 6 8; 12 5 9 2; 66 4 7 11];
I want a code that gives me the total sort of array X in descending order:
sorted_X=[66 12 11 10; 9 8 7 6; 5 4 3 2];
thanks
arraydescending ordersortsort an array
X=[10 3 6 8; 12 5 9 2; 66 4 7 11];
sorted_X=[66 12 11 10; 9 8 7 6; 5 4 3 2];
Best Answer