MATLAB: How to arrange names in alphabetical order MATLABread data Hey how do i use matlab to arrange names in alphabetical order? a code would be of great help. Best Answer You can use the SORT command:http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sort.htmlAn example: names = {'gamma', 'beta', 'alpha'}; sort(names) ans = 'alpha' 'beta' 'gamma' Related SolutionsMATLAB: Is there a method to sort a list an array of words alphabetically (natural order sorting) >> sort({'gamma', 'delta', 'alpha', 'beta'})ans = 'alpha' 'beta' 'delta' 'gamma' MATLAB: How to arrenge the calculated distances in ascending order The sort command can sort in ascending and descending order. See "help sort". Related QuestionAlphabetical random permutationHI I need to find gamma_t in this nonlinearal equation:
Best Answer