Rank: 868 based on 158 downloads (last 30 days) and 6 files submitted
photo

Anthony Kendall

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Anthony Kendall View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Apr 2010 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 unique, count, accumarray 50 19
  • 4.7
4.7 | 11 ratings
04 Nov 2009 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall path, directories, files, addpath, recursive, directory 38 13
  • 4.33333
4.3 | 11 ratings
28 Apr 2009 Date to Decimal Day of Year Convert a vector of MATLAB serial dates to decimal days since the start of the year. Author: Anthony Kendall clock, fun, date day of year 47 6
  • 4.0
4.0 | 6 ratings
29 Sep 2008 Generalized Objective Function Allows any MATLAB function to easily be optimized Author: Anthony Kendall optimization, objective, function, generalized, matlab 6 4
  • 3.0
3.0 | 2 ratings
19 Mar 2008 Weighted Means Calculates the weighted geometric, arithmetic, or harmonic means of input vectors. Author: Anthony Kendall weighted mean geometr... 12 0
Comments and Ratings by Anthony Kendall View all
Updated File Comments Rating
16 Apr 2010 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

Matt - The N that you refer to is simply the second output of this routine, you just need to request it.

Kristi - Thanks! That helped speed up large integer arrays considerably. I've updated the file to reflect your suggestions.

08 Mar 2010 MEX_SHAPE Reads in common ESRI shapefile formats. Author: John Evans

The code worked great, I compiled it on a 64-bit machine with the latest version of shapelib, and everything works well. Some of the help is a bit outdated, but I really can't complain.

26 Feb 2010 Experimental (Semi-) Variogram calculate the isotropic and anisotropic experimental (semi-) variogram Author: Wolfgang Schwanghart

Thanks a lot for this function, it works very well (though as you mentioned it is a bit of a memory hog, I had to subsample my data but the variogram was robust).

19 Feb 2010 Surfer Griddata A gridding interface with surfer (v7). Works just like griddata. Author: Aslak Grinsted

Nice, simple function that can easily be modified to add additional options to the interpolations. Thanks!

04 Nov 2009 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall

Thanks Jim!

I made that change for compatibility with Macs. Also, based on your first comment back in October I increased the speed of the code by a factor of 3 in a moderate-sized directory tree.

Comments and Ratings on Anthony Kendall's Files View all
Updated File Comment by Comments Rating
25 Oct 2014 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 Ege

Is there a way to use this on categorical data?

25 Oct 2014 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 Ege

When I try this on tables like
[uniques,numUnique] = count_unique(Table(:,1));
I get error You can not subscript a table using only one subscript. Table subscripting requires both row and variable subscripts. Am I using it wrong?

04 Feb 2014 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 Jason Nicholson

I have used this function over and over. I have referred to many times when solving different problems. This is great work! I am very grateful for your posting of count_unique!

01 Oct 2013 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall David G

Excelent!

27 Aug 2013 Date to Decimal Day of Year Convert a vector of MATLAB serial dates to decimal days since the start of the year. Author: Anthony Kendall Chad Greene

Contact us