Prev: Mastermind Matlab
Next: matlab compiler cgi
From: joseph Frank on 11 May 2010 10:54 I have a cell array A where the first column is years and the second is a unique ID 2001 '00846U' 2007 '00846U101' 2004 '00846U101' 1990 '013817' 1995 '013817' 1992 '013817' how can I sort it using two dimensions: based on ID and then based on years ? i.e for each group of unique IDs I want the rows to be sorted by years from smallest to largest . also the IDs should be sorted from smallest to largerst
From: joseph Frank on 11 May 2010 11:18 I tried the sortcell function posted on the file exchange forum, I received : ??? Error using ==> sortcell at 104 This column is mixed so sorting cannot be completed.
|
Pages: 1 Prev: Mastermind Matlab Next: matlab compiler cgi |