Rank: 36 based on 995 downloads (last 30 days) and 45 files submitted
photo

Jan Simon

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

Personal Profile:

Computers assist human, not the other way around.

Questions about FileExchange submissions are welcome. Get my address from the code.

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
07 Jul 2014 Screenshot MessWords Shuffle characters of words Author: Jan Simon shuffle, mix, characters, words, fun 5 0
16 Jun 2014 Screenshot XSum Fast Sum with error compensation Author: Jan Simon sum, error, compensated, accuracy, kahan, knuth 16 14
  • 5.0
5.0 | 3 ratings
19 May 2014 GetSelection Get selected strings from listbox or popupmenu Author: Jan Simon uicontrol, listbox, popupmenu, strings, selected 8 0
17 Sep 2013 Screenshot RunLength RunLength coding as fast MEX and M-code Author: Jan Simon runlength, coding, code, rle, communications 47 4
  • 5.0
5.0 | 1 rating
11 Sep 2013 Screenshot anyEq Fast check if 2 arrays have a common element Author: Jan Simon any, equal, isequal, compare, common element, cmex 11 5
  • 5.0
5.0 | 1 rating
Comments and Ratings by Jan View all
Updated File Comments Rating
18 Aug 2014 BlockMean Mean of rectangular submatrices, fast C-Mex (no running mean) Author: Jan Simon

@sykam varma: As far as I understand: Yes. Simply try it.

05 Aug 2014 tprintf -- Print to Second Terminal Window Print lines of text in secondary windows resembling command window. Author: Petorr

If you open the figure with 'IntegerHandle' set to 'off', the figure get a unique handle which is guaranteed not to collide with a user defined figure.

An axes appears "magically" in a new figure only, when a plotting command is called. But creating an invisible axes object is not useful to prevent this. So this is a kind of voodoo. ;-)

02 Aug 2014 tprintf -- Print to Second Terminal Window Print lines of text in secondary windows resembling command window. Author: Petorr

I do not understand the sense of
fH = min( setdiff(1000:10000,fHs) );
when fH is overwritte later.
What about this simple code to obtain the handle of the figure:
fH = findobj(allchild(0), 'flat', 'Name', figureName)

The axes aH is not used anywhere. So why do you create it?

You have the handle of the UICONTROL sH allready. Why do you obtain it by a loop and comparing the type of the figure's children? It would be cleaner to call either FINDOBJ instead of a loop, or to store the handle in teh figure's ApplicationData (see GUIHANDLE).

02 Aug 2014 DateStr2Num Convert date string to date number - C-Mex: much faster than DATENUM Author: Jan Simon

@joh: What exactly is an "array of dates"? Cell strings are handles internally already.

24 Jul 2014 flip Flip vectors and matrices in all directions Author: Marco Borges

Another interesting point is the "linear indexing": x(end:-1:1) accesses all elements even of multi-dimensional arrays.

Please fix the documentation here and in the code: The vector of length N is:
[x(N), x(N-1), ..., x(1)]. It does not start at x(N-1).

The help section has a H1-line, a useful description of the procedure, and a See Also line. The file contains a change log and the name of the author. The actual code is nearly trivial, so I do not think, that this submission is very useful for others. Therefore I rate it with 4 stars instead of 5, although I do not see any point, where it could be improved.

Comments and Ratings on Jan's Files View all
Updated File Comment by Comments Rating
21 Aug 2014 fRMField Remove a field from a struct efficiently - fast C-Mex Author: Jan Simon Adam

18 Aug 2014 BlockMean Mean of rectangular submatrices, fast C-Mex (no running mean) Author: Jan Simon Simon, Jan

@sykam varma: As far as I understand: Yes. Simply try it.

15 Aug 2014 DateStr2Num Convert date string to date number - C-Mex: much faster than DATENUM Author: Jan Simon Felipe

12 Aug 2014 BlockMean Mean of rectangular submatrices, fast C-Mex (no running mean) Author: Jan Simon varma, sykam

I want to do block averaging of matrix which is double ofrmat. Can I use this file?

08 Aug 2014 FileRename Fast renaming of files or folders Author: Jan Simon Lukas

Nice one, thank you!

Contact us