Rank: 2616 based on 53 downloads (last 30 days) and 5 files submitted
photo

Daniel

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Daniel View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Nov 2013 Screenshot Low Freq 2D Fourier Transform Produces high resolution 2D Fourier Transform for low spatial frequencies. Author: Daniel fft, 2dfft, fft2, optimise 14 2
  • 5.0
5.0 | 2 ratings
01 Jul 2013 replaceTildes Recurses through directories, finding Matlab code and replacing LHS tildes with 'ans'. Author: Daniel tilde, code, compatibility 8 2
  • 1.0
1.0 | 1 rating
30 Apr 2013 pushNaNs Pushes NaNs to the bottom of each column of X. Author: Daniel nan, order, sort, remove, column 7 3
18 Jan 2013 GetGoogleSpreadsheet Download a google spreadsheet as csv and import into a Matlab cell array. Author: Daniel google, spreadsheet, import, csv 14 1
  • 5.0
5.0 | 1 rating
14 Jan 2012 Tiedrank_(X,dim) Like MATLAB's tiedrank function, but works along dimension dim of ND-array. Author: Daniel rank, correlation, tied, tiedrank, sort 10 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Daniel View all
Updated File Comments Rating
01 May 2013 pushNaNs Pushes NaNs to the bottom of each column of X. Author: Daniel

Vanessa,
Sorry to disappoint, but I think you're probably more or less right. The situation in which I thought the function would be useful turned out to be entirely avoidable, after much TLC to the script in question (wading through someone else's lazy coding).
Actually I wrote the function after I'd already realised it wasn't needed, I was just curious to see how it could be done neatly and reckoned there may occasionally be a need for it.

31 Jan 2012 Rankings Calculate Rankings with five different methodologies Author: Francesco Pozzi

You might like my tiedrank_(X,dim) function: http://www.mathworks.com/matlabcentral/fileexchange/34560-tiedrankxdim
The code is fully vectorised and runs pretty fast.

31 Jan 2012 colAUC Calculates Area under ROC curve (AUC) for a vector or for each column of a matrix. Author: Jaroslaw Tuszynski

For ND-array tiedranks you might like http://www.mathworks.com/matlabcentral/fileexchange/34560-tiedrankxdim

31 Jan 2012 Spearman Rank Correlation It calculates the Spearman rank correlation coefficient. Author: Alexandros Leontitsis

If you want to compute tied ranks along a specific dimension of an ND-array see http://www.mathworks.com/matlabcentral/fileexchange/34560-tiedrankxdim.

09 Dec 2011 Determine and count unique values of an array Very fast function to determine and count unique values of numeric, logical, char, cell arrays. Author: Anthony Kendall

I haven't actually tried this yet, but how about using the 'sparse' parameter in accumarray? And why not add a 'dim' parameter to your function...I think it's still possible to do this with accumarray.

Comments and Ratings on Daniel's Files View all
Updated File Comment by Comments Rating
24 Oct 2013 Low Freq 2D Fourier Transform Produces high resolution 2D Fourier Transform for low spatial frequencies. Author: Daniel Ali

Wow. This is even better than the first version and even faster.

04 Sep 2013 Low Freq 2D Fourier Transform Produces high resolution 2D Fourier Transform for low spatial frequencies. Author: Daniel Ali

This is awesome. Thank you.

22 Jul 2013 GetGoogleSpreadsheet Download a google spreadsheet as csv and import into a Matlab cell array. Author: Daniel Nagavenkat

worked perfectly
Thank you

28 Jun 2013 replaceTildes Recurses through directories, finding Matlab code and replacing LHS tildes with 'ans'. Author: Daniel Jos (10584)

I am currently rating this as one star because it should not overwrite files by default! This is potentially very dangerous.

You should copy the directory, and make the changes in the copied files. If this is implemented, I will reconsider my rating. The idea is fine btw ...

28 Jun 2013 replaceTildes Recurses through directories, finding Matlab code and replacing LHS tildes with 'ans'. Author: Daniel Simon, Jan

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.

Contact us