Mercurial > hg > aimmat
comparison aim-mat/tools/sortstruct.m @ 3:20ada0af3d7d
various bugfixes and changed copywrite message
author | Stefan Bleeck <bleeck@gmail.com> |
---|---|
date | Tue, 16 Aug 2011 14:36:30 +0100 |
parents | 74dedb26614d |
children |
comparison
equal
deleted
inserted
replaced
2:8bd33a2931a3 | 3:20ada0af3d7d |
---|---|
3 % INPUT VALUES: | 3 % INPUT VALUES: |
4 % | 4 % |
5 % RETURN VALUE: | 5 % RETURN VALUE: |
6 % | 6 % |
7 % | 7 % |
8 % (c) 2003-2008, University of Cambridge, Medical Research Council | 8 % This external file is included as part of the 'aim-mat' distribution package |
9 % Maintained by Tom Walters (tcw24@cam.ac.uk), written by Stefan Bleeck (stefan@bleeck.de) | 9 % (c) 2011, University of Southampton |
10 % http://www.pdn.cam.ac.uk/cnbh/aim2006 | 10 % Maintained by Stefan Bleeck (bleeck@gmail.com) |
11 % $Date: 2008-06-10 18:00:16 +0100 (Tue, 10 Jun 2008) $ | 11 % download of current version is on the soundsoftware site: |
12 % $Revision: 585 $ | 12 % http://code.soundsoftware.ac.uk/projects/aimmat |
13 % documentation and everything is on http://www.acousticscale.org | |
13 | 14 |
14 function ret=sortstruct(str,topic,nr_second_dimension) | 15 function ret=sortstruct(str,topic,nr_second_dimension) |
15 % sorts the structure str by the values in "topic" | 16 % sorts the structure str by the values in "topic" |
16 % if topic is twodimensional, then "nr_second_dimension" gives the chosen | 17 % if topic is twodimensional, then "nr_second_dimension" gives the chosen |
17 % number | 18 % number |