Can we sort the variables of a table as per the values in a particular row.
I have this data. the last row (the one highlighted in blue) is the sum of all the values in each column. I want to re-arrange all the columns as per the descending values in this last row but I am unable to do so. I tried sort code and it did work for all other tables but I dont know why its not working for my data. Can anyone please help?I have this data. the last row (the one highlighted in blue) is the sum of all the values in each column. I want to re-arrange all the columns as per the descending values in this last row but I am unable to do so. I tried sort code and it did work for all other tables but I dont know why its not working for my data. Can anyone please help? I have this data. the last row (the one highlighted in blue) is the sum of all the values in each column. I want to re-arrange all the columns as per the descending values in this last row but I am unable to do so. I tried sort code and it did work for all other tables but I dont know why its not working for my data. Can anyone please help? tables, matrix, data sorting MATLAB Answers — New Questions