-
Category : Algorithm
Tags :
- Update : 2013-01-23
- Size : 1kb
- Downloaded :0次
- Author :zho***
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
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
Packet file list
(Preview for download)
cmean.m
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information