随笔分类 -  CodesApp

cpp,c,m,...
摘要://m sci 代码function [xc,yc,Ra,Rb,theta,res] = ovalfit(x,y)//椭圆方程:x^2+res(1) xy+res(2) y^2+res(3) x+res(4) y+res(5)=0;//长半轴Ra,短半轴Rb,中心(xc1,yc1); 长轴与x轴夹角... 阅读全文
posted @ 2015-03-22 12:39 JkReader 阅读(371) 评论(0) 推荐(0)
摘要://m文件 sci文件function [xc,yc,R,a] = circfit(x,y)//CIRCFIT Fits a circle in x,y plane// [XC, YC, R, A] = CIRCFIT(X,Y)// Result is center point (yc,xc) an... 阅读全文
posted @ 2015-03-22 12:32 JkReader 阅读(438) 评论(0) 推荐(0)
摘要:// .m .sci 文件 代码function [Res,u1,u2]=NormalTest(x,alpha)//u1=g1/sig1 ~ N(0,1) 偏度//u2=(g2-mu2)/sig2 ~ N(0,1) 峰度//N>=100. 当N0) then Res=0;else R... 阅读全文
posted @ 2015-03-22 12:18 JkReader 阅读(670) 评论(0) 推荐(0)
摘要://k阶样本矩int varK(double* dList,int nCount,int k,double* pdRes){ if((NULL == dList) || (NULL == pdRes)) return -1; if(nDataCount10) return -4; ... 阅读全文
posted @ 2015-03-21 13:57 JkReader 阅读(544) 评论(0) 推荐(0)
摘要://正态分布检验//NormalTest:正态分布检验 //ZF:正态分布累积函数//varK(dList,nCount,k,&dRes):k阶样本矩int NormalTest(double* dList,int nDataCount,double alpha,bool* pbRes){ do... 阅读全文
posted @ 2015-03-21 13:36 JkReader 阅读(1578) 评论(0) 推荐(0)