Search Comments and Ratings

go

   
Date File Comment by Comment Rating
01 May 2013 pushNaNs Pushes NaNs to the bottom of each column of X. Author: Daniel

Daniel

Daniel

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.

Comment only
31 Jan 2012 Rankings Calculate Rankings with five different methodologies Author: Liber Eleutherios

Liber Eleutherios

Daniel

Daniel

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.

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

Jaroslaw Tuszynski

Daniel

Daniel

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

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

Alexandros Leontitsis

Daniel

Daniel

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

Comment only
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

Anthony Kendall

Daniel

Daniel

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.

Comment only

Contact us