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

 Réponse acceptée

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB 快速入门 dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!