Numerical integration(double integral) by using "dblquad" function.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad
le 10 Fév 2014
Modifié(e) : John D'Errico
le 10 Fév 2014
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 commentaires
Réponse acceptée
John D'Errico
le 10 Fév 2014
Modifié(e) : John D'Errico
le 10 Fév 2014
help integral2
See one of the examples, where it shows how to solve your problem.
2 commentaires
John D'Errico
le 10 Fév 2014
Modifié(e) : John D'Errico
le 10 Fév 2014
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!