Rank: 2303 based on 34 downloads (last 30 days) and 4 files submitted
photo

Bob Hamans

E-mail
Lat/Long
51.823658, 5.861848

Personal Profile:
Professional Interests:
Magnetic resonance imaging and spectroscopy

 

Watch this Author's files

 

Files Posted by Bob View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Jul 2011 LISTZIPCONTENTS Lists the contents of a zip file. Author: Bob Hamans zip, list, contents, java 6 0
29 Jan 2009 dicomrename Renames DICOM-files based on the value of fields in the file header. Compatible with Siemens MR IMA Author: Bob Hamans ima, dicom, siemens, rename, dcm 9 0
20 Sep 2007 wildcardsearch Searches the file system for files or folders matching a wildcard pattern Author: Bob Hamans path, directories, files, search, files folders, recursive 3 1
20 Sep 2007 regexpdir Returns a directory listing based on a regular expression Author: Bob Hamans dir, regular expression, files, path, directories, recursive 16 0
  • 5.0
5.0 | 1 rating
Comments and Ratings by Bob View all
Updated File Comments Rating
06 Jul 2011 Listfiles retrieves files in specified directory Author: Alexandra

See for similar functions: http://www.mathworks.com/matlabcentral/fileexchange/16217-wildcardsearch or http://www.mathworks.com/matlabcentral/fileexchange/16216-regexpdir

02 Jun 2011 Sorting a Cell Array This function will sort a cell array even if it is mixed. Author: Jeff Jackson

Correct that! The last line should read:
ix = ixin(ix);

01 Jun 2011 Sorting a Cell Array This function will sort a cell array even if it is mixed. Author: Jeff Jackson

Solved for now. Maybe I will update this function at a future time point to implement the above. For now:

[data, ixa] = sortcell(data, 11);
[data, ixb] = sortcell(data, 12);
[data, ixc] = sortcell(data, 1);
[data, ixd] = sortcell(data, 5);
ix=ixa(ixb(ixc(ixd)));

Desired would be:
[data, ix] = sortcell(data, [11 12 1 5]);

01 Jun 2011 Sorting a Cell Array This function will sort a cell array even if it is mixed. Author: Jeff Jackson

Would there be an easy way of getting the overall permutation vector for a multidimensional sort? For one dimension it is easy (just return ix defined at line 108) but when using multiple dimension only the last value of ix is returned. I was thinking to implement something like ix(ix) but that of course does not work. Suggestions welcome!

Comments and Ratings on Bob's Files View all
Updated File Comment by Comments Rating
17 Dec 2007 regexpdir Returns a directory listing based on a regular expression Author: Bob Hamans Biessmann, Felix

11 Sep 2007 wildcardsearch Searches the file system for files or folders matching a wildcard pattern Author: Bob Hamans Hamans, Bob

Example 1: Finds all jpg and tif files:
rootdir = 'C:\'
searchstr = '*.jpg;*.tif';
files = wildcardsearch(rootdir, searchstr);

Example 2: Finds all files named EXPxxx.DAT:
rootdir = 'C:\'
searchstr = 'EXP???.DAT';
files = wildcardsearch(rootdir, searchstr);

Top Tags Applied by Bob
directories, files, path, recursive, search
Files Tagged by Bob View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Jul 2011 LISTZIPCONTENTS Lists the contents of a zip file. Author: Bob Hamans zip, list, contents, java 6 0
29 Jan 2009 dicomrename Renames DICOM-files based on the value of fields in the file header. Compatible with Siemens MR IMA Author: Bob Hamans ima, dicom, siemens, rename, dcm 9 0
20 Sep 2007 wildcardsearch Searches the file system for files or folders matching a wildcard pattern Author: Bob Hamans path, directories, files, search, files folders, recursive 3 1
20 Sep 2007 regexpdir Returns a directory listing based on a regular expression Author: Bob Hamans dir, regular expression, files, path, directories, recursive 16 0
  • 5.0
5.0 | 1 rating

Contact us