Rank: 1837 based on 30 downloads (last 30 days) and 6 files submitted
photo

Stephen Lienhard

E-mail
Lat/Long
40.26895, -74.54702

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Stephen View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Nov 2007 apply Apply a function looping over a dimension of a matrix Author: Stephen Lienhard matrices, arrayfun, margin, map, loop, functional 1 5
  • 3.25
3.2 | 4 ratings
20 Mar 2007 Screenshot Excel2Matlab Spreadsheet to pass data between Excel and MATLAB Author: Stephen Lienhard spreadsheet, excellink, excel, data export, data import, pass data 5 3
  • 3.5
3.5 | 2 ratings
15 Jan 2007 Screenshot CreateGuid MEX MEX to create a Globally Unique Identifier GUID Author: Stephen Lienhard guid windows unique m... 1 3
  • 5.0
5.0 | 1 rating
25 Aug 2005 Screenshot NumberFormatter Flexible number formatting using java. Author: Stephen Lienhard commas, formatting, plot, miscellaneous, utilities 10 3
  • 3.0
3.0 | 2 ratings
12 Jan 2005 Excel Named Ranges Return the list of named ranges from an Excel file. Author: Stephen Lienhard excel named ranges, data import, data export, utilities 0 0
Comments and Ratings by Stephen View all
Updated File Comments Rating
22 Sep 2009 Textscantool GUI to read large text files Author: Stuart McGarrity
03 Mar 2009 matrixfunction summary Author: Pierce

See also http://www.mathworks.com/matlabcentral/fileexchange/16467 which I am the author of. While it only operates on one matrix, it is generalized to operate over any dimension.

Comments and Ratings on Stephen's Files View all
Updated File Comment by Comments Rating
04 Nov 2011 CreateGuid MEX MEX to create a Globally Unique Identifier GUID Author: Stephen Lienhard Tom

Thanks Joseph ... your solution worked for me (after casting to char)

char(java.util.UUID.randomUUID)

19 Oct 2011 CreateGuid MEX MEX to create a Globally Unique Identifier GUID Author: Stephen Lienhard Burgel, Joseph

Had some issues compiling this in Windows 7 an ML 2010a. After a little digging, I found:
x = java.util.UUID.randomUUID()
which worked fine for my purpose. Thanks.

22 Jul 2010 apply Apply a function looping over a dimension of a matrix Author: Stephen Lienhard Ridgway, Ged

This looks like a useful helper-function to me. I have what I hope is a complementary helper-function
http://www.mathworks.com/matlabcentral/fileexchange/28255
that can be used when you want to apply a function to vectors along a dimension, rather than (potentially higher dimensional) arrays perpendicular to that dimension.

To clarify the differences, with a 3d array:
  r = randn(4,4,4);
the second of the four elements returned by:
  n = apply(@norm, r, 3)
gives the matrix norm of the second matrix:
  norm(r(:,:,2)
where matrices are stacked in the third dimension.

In contrast,
  n = dimfunc(@norm, r, 3)
gives you a 4-by-4 matrix of the vector norms, for vectors running along the third dimension, e.g. element n(2,3) equals:
  norm(squeeze(r(2,3,:)))

I hope that both functions will be useful for simplifying code to handle nD arrays.

14 Aug 2008 CreateGuid MEX MEX to create a Globally Unique Identifier GUID Author: Stephen Lienhard Hoelzer, Steve

Worked as advertised and really useful. I compiled it with MS Visual C++ .NET 2003. Could use a readme file or a few more comments in the code.

17 Jul 2008 Excel2Matlab Spreadsheet to pass data between Excel and MATLAB Author: Stephen Lienhard Ferret, Jean-Marc

i have a library missing
exdlink.xla
someone can help me?

Top Tags Applied by Stephen
utilities, data export, data import, arrayfun, bsxfun
Files Tagged by Stephen View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Nov 2007 apply Apply a function looping over a dimension of a matrix Author: Stephen Lienhard matrices, arrayfun, margin, map, loop, functional 1 5
  • 3.25
3.2 | 4 ratings
20 Mar 2007 Screenshot Excel2Matlab Spreadsheet to pass data between Excel and MATLAB Author: Stephen Lienhard spreadsheet, excellink, excel, data export, data import, pass data 5 3
  • 3.5
3.5 | 2 ratings
15 Jan 2007 Screenshot CreateGuid MEX MEX to create a Globally Unique Identifier GUID Author: Stephen Lienhard guid windows unique m... 1 3
  • 5.0
5.0 | 1 rating
25 Aug 2005 Screenshot NumberFormatter Flexible number formatting using java. Author: Stephen Lienhard commas, formatting, plot, miscellaneous, utilities 10 3
  • 3.0
3.0 | 2 ratings
20 Apr 2005 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari xml, xml toolbox, matlab, conversion, data export, data type 312 49
  • 3.36585
3.4 | 45 ratings

Contact us at files@mathworks.com