Integrating mnvpdf using integral2
Mostra commenti meno recenti
Hi,
I have a question about integrating mvnpdf using integral2. I have
myPDF = @(x,y) mvnpdf([x,y],[1,2],[1,0;0,1])
result = integral2(myPDF,-100,100,-100,100);
When I try to run this I get the error:
Error using mvnpdfX
X and MU must have the same number of columns
Thanks for your help...
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Adding custom doc in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!