摘要: %stats.mfunction [mean,stdev]=stats(x) n=length(x);mean=sum(x)/n;stdev=sqrt(sum((x-mean).^2/(n-1)));// command window>>y=[8 5 10 12 6 7.5 4];>> [m,s]=stats(y)//多值反回 阅读全文
posted @ 2014-03-23 16:05 翛虬 阅读(462) 评论(0) 推荐(0) 编辑