Rank: 643 based on 111 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 count, accumarray, unique 58 14
  • 4.57143
4.6 | 7 ratings
04 Nov 2009 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall path, directories, files, addpath, recursive, directory 22 12
  • 4.2
4.2 | 10 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 24 6
  • 3.5
3.5 | 4 ratings
29 Sep 2008 Generalized Objective Function Allows any MATLAB function to easily be optimized Author: Anthony Kendall optimization, objective, function, generalized, matlab 3 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... 2 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
11 Jan 2012 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall Miguel
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 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.

30 Nov 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 Jhay

How to count elements in a row?
For Example: [0 0 0 1 1 1 1 0 0 0 1 1 0 1 ]
I need to find the position of 1's in a row and count it seperately. Can some1 suggest me solution?

16 Feb 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 Tyson

I was wondering if the code could be modified to accept a 'rows' option, like the unique script? I have x,y,z data that can have more than one column identical. Thanks!

11 Sep 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 Alexander

Thanks. Nice code. Saves a lot of time over "unique" in counting unique integer values from a relatively large matrix. I didn't try it on integer values.

Top Tags Applied by Anthony
accumarray, addpath, clock, count, date day of year
Files Tagged 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 count, accumarray, unique 58 14
  • 4.57143
4.6 | 7 ratings
04 Nov 2009 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall path, directories, files, addpath, recursive, directory 22 12
  • 4.2
4.2 | 10 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 24 6
  • 3.5
3.5 | 4 ratings
29 Sep 2008 Generalized Objective Function Allows any MATLAB function to easily be optimized Author: Anthony Kendall optimization, objective, function, generalized, matlab 3 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... 2 0

Contact us at files@mathworks.com