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

 Respuesta aceptada

华纳娱乐开户【微8785092】
华纳娱乐开户【微8785092】 el 19 de Mayo de 2023

0 votos

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

Más respuestas (0)

Categorías

Más información sobre MATLAB 快速入门 en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!