Rank: 54864 based on 0 downloads (last 30 days) and 0 files submitted
photo

Pete

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Pete View all
Updated File Comments Rating
31 Jan 2012 nancorrcoef Pearson's correlation for vectors with NaNs Author: Denis Gilbert

Unfortunately this script appears to be largely redundant given the built-in functionality of corrcoef.m. For example, I believe the following are equivalent:
nancorrcoef(A,B)
corrcoef(A,B,'rows','complete')

Moreover, unlike corrcoef this script only works with 2 variables - a serious limitation. Thus, though nicely written, there appears little reason to use this script. That said, it does have one unique feature in that it provides built-in checks/info on the proportion of NaN data. This is a nice idea, and perhaps the script could be re-written as a wrapper to corrcoef whilst retaining this convenient functionality.

Pros:
- Clearly written and well-documented
- Provides convenient checks on the proportion of NaN data

Cons:
- Only works with 2 variables
- Is largely redundant (can be done directly with corrcoef.m)

27 Oct 2011 Generate maximally perceptually-distinct colors Choose a set of n colors that can be readily distinguished from each other Author: Tim Holy

Very neat. The usage in combination with Colorspace Transformations is especially elegant.

Change [~,index] to [tmp,index] on line 115 to work on pre-2010 versions of Matlab.

13 Jan 2011 gmregress Geometric Mean Regression (Reduced Major Axis Regression). Author: Antonio Trujillo-Ortiz

Well documented. Appears to work as advertised.

I would invite somebody to compare and contrast this script with the scripts by Edward T. Peltzer hosted at: http://www.mbari.org/staff/etp3/regress.htm

(which encouragingly produce identical slopes)

04 Jan 2011 SLM - Shape Language Modeling Least squares spline modeling using shape primitives Author: John D'Errico

Aside from all the awfully clever (advanced) stuff, also a really handy way to find the inflection point in a piecewise linear regression. Neat =)

see: http://www.mathworks.com/matlabcentral/newsreader/view_thread/298989

03 Jan 2011 csv2struct reads Excel's files stored in .csv or .xls file formats and stores results as a struct Author: Jaroslaw Tuszynski

@Ged: "***If your system does not have Excel for Windows installed, or MATLAB cannot access the COM server, xlsread operates in basic mode. In this mode, xlsread only reads XLS files.***"

Yeah this is unfortunate - would seem to mean that this script will only work on windows machines. Not the author's fault, but down-rated accordingly =/

Contact us at files@mathworks.com