Rank: 60 based on 549 downloads (last 30 days) and 43 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
21 May 2013 Screenshot RunLength RunLength coding as fast MEX and M-code Author: Jan Simon runlength, coding, code, rle, communications 16 0
17 Jan 2013 GetFullPath Full path name for partial or relative path Author: Jan Simon full, name, path, file, qualified, parent directory 36 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 3 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
Comments and Ratings by Jan View all
Updated File Comments Rating
28 Jun 2013 replaceTildes Recurses through directories, finding Matlab code and replacing LHS tildes with 'ans'. Author: Daniel

I recommend not to overwrite the automatically accessed "ans" variable. This can be confusing e.g. during debugging. I'd use something like "dummy" instead.

The function is useful to support Matlab versions <= 2009a. The help text does niot have a H1-line, but is clear and contains the required warning. Perhaps a dialog might be added to ask for a confirmation. I cannot test the robustness of the REGEXP currently, such that I do not dare to rate this submission yet.

Btw. the need to include a subfunction to obtain a recursive list of files in subfolders is shows, that TMW should urgently include this as a toolbox function. This is a standard task which should not be left to the users.

27 Jun 2013 plotly API Graphs in a web-browser! Example graph: https://plot.ly/~jackp/614/. View and share interactively. Author: Chris

For more than the half of the examples I get a running progress indicator only. Therefore I hesitate to use this for productive work.

22 Jun 2013 COMBNSUB Subset of all possible combinations of a fixed number of elements of a vector (v1.1, june 2013) Author: Jos (10584)

This is an excellent implementation of a very efficient method. Together with the exhaustive documentation this submission is useful, usable and valuable for the productive work and education. Thanks, Jos!

A tiny simplification: You do not need B(:)', because B is a row vector already.

13 Jun 2013 Adjust window level of image using mouse button You can adjust the window level using mouse Author: Yi Sui

The updated version of your code is much nicer - thanks!
The local variables are now stored in the figure's UserData, wuch that it can be applied to multiple figures without confusions.

I still see a problem in the missing documentation. While the code does not contain a help section, the only specification is found here in the FEX: "adjust the window level". But what exactly is adjusted?

Now I think, that this function is probably useful. Only the lack of a documentation reduces the usability substantially. A small help sections with a H1-line, which decribes the inputs and the applied procedure clearly, would be enough.

12 Jun 2013 Hello/Goodbye World using GUI 2.5 Test Upload Author: Siva

Using the brute clearing header "clc; clear all;" inside the functions is a bad idea. On one hand a function does not contain local variables initially, such that clearing them does not have any benefit. On the other hand this removes all breakpoints also, and everything, which prevents debugging, is a really bad programming practize.

I prefer the standard indentation scheme applied by Matlab automatically. But this is a question of taste only.

The small number of comments reduces the educational value of this submission.

Transporting a set of variables as cell has the important drawback, that the order of the values matter:
x=temp{1,1};
y=temp{1,2};
a=temp{1,3};
If you use a struct with the fields "x", "y", and "a" instead, the meaning is immediatly clear.

Comments and Ratings on Jan's Files View all
Updated File Comment by Comments Rating
18 Jun 2013 FileTime Get and set the times for creation, access and modification of a file or folder (Windows only) Author: Jan Simon Hildebrand, David

18 Jun 2013 CalcMD5 Another MD5 calculator as fast C-Mex Author: Jan Simon Hildebrand, David

24 May 2013 CStr2String Fast concatenation of cell strings to a string as C-Mex Author: Jan Simon Luong, Bruno

MATLAB cell concatenation is extremely slow. Jan's FEX is a must for those who care about speed.

17 May 2013 DGradient Gradient of arrays as fast C-Mex Author: Jan Simon SN

Great Job! thanks.

15 Apr 2013 DateStr2Num Convert date string to date number - CMex: much faster than DATENUM Author: Jan Simon Farrahi Moghaddam, Reza

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
21 May 2013 Screenshot RunLength RunLength coding as fast MEX and M-code Author: Jan Simon runlength, coding, code, rle, communications 16 0
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 16 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 36 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 3 0

Contact us