如果x~N(0,1^2),y~N(1,0.1^2),z~N(0.6,0.02^2),现在想要用数字模拟的方法的求极小值min{x,y,z}的期望,该怎么弄呢?请大佬们指点!!

 Akzeptierte Antwort

0 Stimmen

N=100000;
x=normrnd(0,1,1,N);y=normrnd(1,0.1,1,N);z=normrnd(0.6,0.02,1,N);
mean(min([x;y;z]))
ans =-0.1686

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB 快速入门 finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!