Rank: 12 based on 1342 downloads (last 30 days) and 61 files submitted
photo

Jos (10584)

E-mail

Personal Profile:
Professional Interests:
neuroscience, physics, mathematics

 

Watch this Author's files

 

Files Posted by Jos (10584) View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 May 2012 Screenshot TRIPLESTEST a non-parametric test for asymmetry Author: Jos (10584) statistics, probability, test symmetry nonpara..., test, symmetry, nonparametric 21 0
  • 5.0
5.0 | 2 ratings
30 Jan 2012 GetKeyWait Wait a certain time for a single keypress (v2.1, jan 2012). Author: Jos (10584) keypress, kbhit, input, timed, getkey, pause 25 9
  • 4.83333
4.8 | 6 ratings
30 Jan 2012 getkey Get a single keypress (v1.3, jan 2012) Author: Jos (10584) keypress, get, kbhit, getch, key, input 110 24
  • 4.5
4.5 | 8 ratings
17 Jan 2012 KTHCOMBN K-th combination(s) of elements Author: Jos (10584) combinations, permutations, selection, statistics, matrix, combn 4 1
  • 5.0
5.0 | 1 rating
13 Jan 2012 ALLCOMB All combinations of input (v2.2, jan 2012) Author: Jos (10584) matrices, all, combination, permutation, cartesian product, select 125 25
  • 5.0
5.0 | 17 ratings
Comments and Ratings by Jos (10584) View all
Updated File Comments Rating
25 Mar 2012 COMBN (4.2) All combinations of N elements taken from the vector V. Author: Jos (10584)

@Marc, thanks for your interest and suggestions for improvement. Yet, for code compatibility (and fairness) you need to implement to inverse order step as well :-)

21 Feb 2012 lorentzfit1 LORENTZFIT1 fits a 1-parameter Lorentzian function to data (download includes LORENTZVAL1) Author: Jered Wells

The update is well done, as the function now contains an adequate help section as well.

14 Feb 2012 lorentzfit1 LORENTZFIT1 fits a 1-parameter Lorentzian function to data (download includes LORENTZVAL1) Author: Jered Wells

You made a mistake in the lorentz function (in the code). It should read:
1 ./ (a .* (x.^2 + 1))

Happy to re-rate after an update!

08 Feb 2012 Average and remove duplicates from a matrix This function averages out duplicate values in a matrix and removes the duplicates Author: Mitchell Olson

This might be useful to some. However, you should a look at accumarray:

[u,i,j] = unique(A(:,1)) ;
A_avg_dup = [j, accumarray(j,A(:,2),[],@mean)] ;

In addition, you might revise your help section, so that it mimics ML standards (H1 line, used by LOOKFOR, a SEE ALSO line). Take a look at the help of any basic ML function for some inspiration.

02 Feb 2012 Shuffle Numbers Shuffles numbers in a given matrix or vector Author: Aamir Alaud-din

This functionality has been around on the File Exchange for years. For instance, you might take a look at my RANDSWAP function
http://www.mathworks.nl/matlabcentral/fileexchange/12621-randswap

or RANDMAT by Peter Bodin
http://www.mathworks.nl/matlabcentral/fileexchange/7203-randmat

Here is the rather trivial one-liner for shuffling any array X (numbers, ND, cell, string, whatever):

X(randperm(numel(X)) = X ;

which maintains everything, except the order!

Your help section is pretty good; I'd suggest you try to follow ML standards, e.g., by creatin a proper H1 line, and example, and a See Also section (take a look at the help of any of the main ML functions)

Comments and Ratings on Jos (10584)'s Files View all
Updated File Comment by Comments Rating
17 May 2012 RANDSWAP randomly swap elements of a matrix Author: Jos (10584) Florian
09 May 2012 PADCAT concatenate vectors with different lengths by padding with NaN (v1.2, oct 2011) Author: Jos (10584) Joana

That was EXACTLY what I was looking for!
Many thanks

08 May 2012 TRIPLESTEST a non-parametric test for asymmetry Author: Jos (10584) Bogdan
07 May 2012 TRIPLESTEST a non-parametric test for asymmetry Author: Jos (10584) Bogdan
20 Apr 2012 getkey Get a single keypress (v1.3, jan 2012) Author: Jos (10584) Farhan

Hey everone!!
Can any one please provide me with a code of keydown function and keypress function.
actually what i want to do is that when a specific key e.g. up arrow key is pressed, the ball starts moving in a circle and keeps on oving uptil the key is pressed.
as soon as that key is unpressed, the ball stops moving in a circle.
 thanks in advance :)

Top Tags Applied by Jos (10584)
matrices, matrix, rand, statistics, probability
Files Tagged by Jos (10584) View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 May 2012 Screenshot TRIPLESTEST a non-parametric test for asymmetry Author: Jos (10584) statistics, probability, test symmetry nonpara..., test, symmetry, nonparametric 21 0
  • 5.0
5.0 | 2 ratings
01 Feb 2012 Shuffle Numbers Shuffles numbers in a given matrix or vector Author: Aamir Alaud-din statistics, finance, mathematics, rand, shuffle, randomization 7 1
30 Jan 2012 GetKeyWait Wait a certain time for a single keypress (v2.1, jan 2012). Author: Jos (10584) keypress, kbhit, input, timed, getkey, pause 25 9
  • 4.83333
4.8 | 6 ratings
30 Jan 2012 getkey Get a single keypress (v1.3, jan 2012) Author: Jos (10584) keypress, get, kbhit, getch, key, input 110 24
  • 4.5
4.5 | 8 ratings
17 Jan 2012 KTHCOMBN K-th combination(s) of elements Author: Jos (10584) combinations, permutations, selection, statistics, matrix, combn 4 1
  • 5.0
5.0 | 1 rating

Contact us at files@mathworks.com