最近在学习非参数估计,老师用的是gauss,我一直用matlab不太熟悉,请教下面的code是什么意思?
谢拉
new;
n=100;
x=rndn(n,1);
fxn=zeros(n,1);
j=1;
sx=stdc(x);
h=1.06*sx*n^(-.2);
do until j>n;
d=(x[j]-x)/h;
fx1=pdfn(d);
fxn[j]=meanc(fx1/h);
j=j+1;
endo;
楼主: fgleric
|
1123
0
[Gauss] 新手请教一段code的含义 |
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明