Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
Title: cmean Download
 Description: calculate the statistical mean of data but tick off nan Usage y=cmean(x,|k) or y=cmean(x,k,|c), k can be [] when [m,n,...]=size(x) if k==1, [1,n,...]=size(y) if not set k, then k=1, but if m==1, k=k+1,>>... if k==2, [m,1,...]=size(y) if k>2, [m,n,...,1(k demension),...]=size(y). you can squeeze(y) by yourself to remove the dim(whose size(y,dim)==1) c can control output bo be nan or mean, c =0 by default(namely, not work) if c>0, if valuable numbers(notnan) < c, then output nan instead of mean if c<0, if nan numbers >= c, then output nan instead of mean
 Downloaders recently: [More information of uploader zhoudg]
 To Search:
File list (Check if you may need any files):
 

cmean.m
    

CodeBus www.codebus.net