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

Andrei Terebilo

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Andrei
Updated File Comments Rating
09 Oct 2009 NaN Suite Descriptive Statistics for N-D matrices ignoring NaNs. Author: Jan Gläscher

Little bug here (otherwise great, thanks):

>> nanmedian([0 0 0 0 0 1])
ans =
   NaN

Just modify line 71:
i = find(y==0);
to
i = find(s==0);

Contact us at files@mathworks.com