请教一下一个积分的问题。
显示 更早的评论
设f1=exp(-(a^2-2abcos(t)+b^2)/2);
f2=cos(t)*exp(-(a*cos(t)^2)/2)*erfc((b-a*cos(t))/sqrt(2));
q(a,b)=1/pi*int(f1,t,0,pi)+a/sqrt(2*pi)*int(f2,t,0,pi);
在这里q(a,b)=1-u2,u2=rand(1,N),即q(a,b)算是已知,a是已知,现在我想求的是b,请问表达出b的代码该怎么写?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 快速入门 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!