Numerical integration(double integral) by using "dblquad" function.
5 ビュー (過去 30 日間)
古いコメントを表示
I want to find the numerical value of double integral function (function is given in attached file). The integrand is multiplication of cumulative distribution of d1 and probability density function of d2. However, the problem is that d2 is present as limit of the inner integral. I used "dblquad" but it shows the problem that d2 is undefined.
If d2 is not present as limit of the integral, then it is solving the the double integral. Keep in mind, we knew only pdf and cdf of d2. Can anyone suggest please that how can I solve my problem. How can we extract the value of d2 from pdf or cdf.
Note: The syntax I used is given in attached file.
0 件のコメント
採用された回答
John D'Errico
2014 年 2 月 10 日
編集済み: John D'Errico
2014 年 2 月 10 日
help integral2
See one of the examples, where it shows how to solve your problem.
2 件のコメント
John D'Errico
2014 年 2 月 10 日
編集済み: John D'Errico
2014 年 2 月 10 日
I'm pretty confident the command DOES work in MATLAB. Perhaps you have an older release as integral2 was just added somewhat recently. In that case, it would help to tell us what release you do have.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!