Hey guys, thank you for your Attention.
As in the Picture shown, how to solve this equation?
Thanks a lot,

回答 (1 件)

Torsten
Torsten 2016 年 6 月 8 日
編集済み: Torsten 2016 年 6 月 8 日

0 投票

Try
function main
epsquer0=1;
sol=fzero(@f,epsquer0)
function y=f(epsquer)
mu=0;
s=1;
fun1=@(x)normpdf(x,mu,s);
fun2=@(x)x.*normpdf(x,mu,s);
for k=1:length(epsquer)
epsquerk=epsquer(k);
y(k)=integral(fun2,-Inf,epsquerk)+epsquerk*integral(fun1,epsquerk,Inf);
end
Best wishes
Torsten.

カテゴリ

ヘルプ センター および File Exchange で Programming についてさらに検索

質問済み:

2016 年 6 月 7 日

編集済み:

2016 年 6 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by