Rank: 613 based on 173 downloads (last 30 days) and 6 files submitted
photo

Anthony Kendall

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Anthony 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 59 17
  • 4.66667
4.7 | 10 ratings
04 Nov 2009 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall path, directories, files, addpath, recursive, directory 35 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 40 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 10 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... 19 0
Comments and Ratings by Anthony 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's Files View all
Updated File Comment by Comments Rating
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 Nicholson, Jason

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 Greene, Chad

04 Jan 2013 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 Nicholson, Jason

LIne 130 reads: uniqueLocs = [true;~strcmp(x(1:end-1),x(2:end)) ~= 0]

isn't this the same?

uniqueLocs = [true;~strcmp(x(1:end-1),x(2:end))]

12 Oct 2012 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 Steven

thank you!

Contact us