Double Integral of Bivariate joint normal distribution
Show older comments
I want to apply "integral2/dblquad" on bivariate normal joint pdf. The formula for multivariate joint pdf is:
mu = [1 -1]; SIGMA = [.9 .4; .4 .3]; X = mvnrnd(mu,SIGMA,10); p = mvnpdf(X,mu,SIGMA);
This formula is working, however, i don't want to generate random numbers by using "X = mvnrnd(mu,SIGMA,10);" instead I want to double integrate the function " mvnpdf(X,mu,SIGMA)" by keeping "X" as variable consisting of two variables x & y. Can you please help me in finding double integral by using "X" as vector consisting of random variables x & y. The double integral that I want to calculate is:
integral2(@(x,y)mvnpdf(X,mu,SIGMA), 0,400,0,500) in which x & y are variables.
Thanks in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!