Rank: 80 based on 615 downloads (last 30 days) and 42 files submitted
photo

Jan Simon

E-mail
Company/University
University Heidelberg
Lat/Long
49.41804, 8.671068

Personal Profile:

Computers assist human.
I do not answer to emails related to questions of the Answers forum.

Professional Interests:
Motion analysis, physics, orthopedics

 

Watch this Author's files

 

Files Posted by Jan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Jan 2013 GetFullPath Full path name for partial or relative path Author: Jan Simon full, name, path, file, qualified, parent directory 56 15
  • 5.0
5.0 | 9 ratings
08 Oct 2012 Limit figure size Set minimal or maximal size of a figure Author: Jan Simon figure, size, resize, maximum, minimum, java 7 0
27 Jul 2012 WinPower Shutdown, sleep, hibernate etc. of Windows computers Author: Jan Simon power, set, shutdown, poweroff, sleep, hibernate 3 0
03 Jul 2012 FileResize Expand and truncate existing files - efficient C-Mex Author: Jan Simon file, resize, truncate, crop, expand 2 0
27 Jun 2012 DataHash MD5 or SHA hash for array, struct, cell or file Author: Jan Simon file, md5, array, struct, hash, sha1 97 14
  • 5.0
5.0 | 7 ratings
Comments and Ratings by Jan View all
Updated File Comments Rating
26 Apr 2013 Default arguments Set default values for optional function input. Author: Bas-Jan

What do you expect as result of this line:
varargin = varargin{:};
I assume, it should be deleted to avoid errors.
The code can be simplified:
varargout = defaults;
n = min(numel(defaults), numel(varargin));
varargout(1:n) = varargin(1:n);
if nargin > n
% error instead of a warning
end
An error is much more reliable than a warning, which will be overseen when a mutli-million line program fils the command window with status messages.

24 Apr 2013 Cell Array to CSV-file [cell2csv.m] Writes a cell array into a comma separated values text file (*.csv) Author: Sylvain Fiedler

This function has a large potential for improvements:
"var = eval(['cellArray{z,s}']);" could be replaced by the much faster and nicer "v = cellArray{z,s};".
"if size(var, 1) == 0" does not catch [1x0] arrays, while "isempty(v)" would.

Checking the success of FOPEN is strongly recommended to avoid a strange behaviour.

The documentation is sufficient and the function works as advertised.

22 Apr 2013 Fast String to Double Conversion str2doubleq converts text to double like Matlab's str2double,but up to 400x faster! multithreaded. Author: Lauri Tamminen

The idea is very good, but the results are not reliable. I cannot suggest to use this for productive work. A fair rating is not easy in this case, therefore I've hesitated for some years now.

22 Apr 2013 Convolution This function computes the convolution of two Discrete-time signals; x & y. Author: Ismail M. El-Badawy

Using "sum" as name of a variable shadows the built-in function with the same name. This results in troubles frequently.

What is the benefit compared to the built-in fast CONV command?

22 Apr 2013 Convolution This function computes the convolution of two Discrete-time signals; x & y. Author: Ismail M. El-Badawy

Using "sum" as name of a variable shadows the built-in function with the same name. This results in troubles frequently.

What is the benefit compared to the built-in fast CONV command?

Comments and Ratings on Jan's Files View all
Updated File Comment by Comments Rating
15 Apr 2013 DateStr2Num Convert date string to date number - CMex: much faster than DATENUM Author: Jan Simon Farrahi Moghaddam, Reza

06 Mar 2013 GetFullPath Full path name for partial or relative path Author: Jan Simon Tadepalli, Vinay Kumar

28 Feb 2013 VChooseK Choose K elements from a vector - MEX: 100 times faster than NCHOOSEK Author: Jan Simon Iliopoulos, Alexandros

13 Feb 2013 DataHash MD5 or SHA hash for array, struct, cell or file Author: Jan Simon Nath

function handle refering to struct containing the function will create infinite loop. Is there any workaround ?

Exemple:

d= dynamicprops();
addprop(d,'f');
d.f= @(varargin) struct2cell(d);
DataHash(d.f) % infinite loop

09 Feb 2013 DataHash MD5 or SHA hash for array, struct, cell or file Author: Jan Simon Bose, Arindam

Hi, Do anyone have any idea, how to decrypt an MD5 code?

Top Tags Applied by Jan
cmex, mex, string, file, statistics
Files Tagged by Jan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Mar 2013 Screenshot Hatched Lines and Contours Draw lines and contours with hatches on one side of the line. Author: Rob McDonald hatch, constraint, plotting, contour, optimization 21 0
  • 5.0
5.0 | 1 rating
17 Jan 2013 GetFullPath Full path name for partial or relative path Author: Jan Simon full, name, path, file, qualified, parent directory 56 15
  • 5.0
5.0 | 9 ratings
17 Jan 2013 BSD/Linux Host Information and matlabpoolPlus Get information about the host on which the Matlab instance is running. Also provides matlabpoolPlus Author: Boris Schauerte unix, bsd, linux, host information, uname, process id 4 0
08 Oct 2012 Limit figure size Set minimal or maximal size of a figure Author: Jan Simon figure, size, resize, maximum, minimum, java 7 0
27 Jul 2012 WinPower Shutdown, sleep, hibernate etc. of Windows computers Author: Jan Simon power, set, shutdown, poweroff, sleep, hibernate 3 0

Contact us