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

 Risposta accettata

0 voti

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

Più risposte (0)

Categorie

Scopri di più su MATLAB 快速入门 in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!