Rank: 60 based on 586 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 30 0
17 Jan 2013 GetFullPath Full path name for partial or relative path Author: Jan Simon full, name, path, file, qualified, parent directory 38 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
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.

07 Jun 2013 clr == clear all; close all; clc; clr clears your workspace and command window, so you can start fresh. Author: Brenden Epps

I forgot to mention, that "clear all" removes all debugger breakpoints also. And everything, which impedes debugging is a bad programming practize.

07 Jun 2013 clr == clear all; close all; clc; clr clears your workspace and command window, so you can start fresh. Author: Brenden Epps

05 Jun 2013 add given no to add given numbers Author: Balkiran Balkiran

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 30 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 13 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 38 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 3 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