随笔分类 - 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轴夹角...
阅读全文
摘要://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...
阅读全文
摘要:// .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...
阅读全文
摘要://k阶样本矩int varK(double* dList,int nCount,int k,double* pdRes){ if((NULL == dList) || (NULL == pdRes)) return -1; if(nDataCount10) return -4; ...
阅读全文
摘要://正态分布检验//NormalTest:正态分布检验 //ZF:正态分布累积函数//varK(dList,nCount,k,&dRes):k阶样本矩int NormalTest(double* dList,int nDataCount,double alpha,bool* pbRes){ do...
阅读全文

浙公网安备 33010602011771号