Use of Quadv

3 visualizzazioni (ultimi 30 giorni)
Bente
Bente il 4 Gen 2012
We have tried to integrate the 2 dimensional normal densityfunction which is expressed by vectors, with one unknown parameter, this was done succesfully with the function Quadv.
Now we would like to integrate the 3 dimensional normal densityfunction with two unknown parameters - which function can we use, when the densityfuntion is expressed by vectors?

Risposte (2)

Mike Hosea
Mike Hosea il 4 Gen 2012
I don't understand your application.
However, speaking quite generally, QUADV is the vector-valued form of QUAD. There is nothing similar for QUADL, QUADGK, QUAD2D, DBLQUAD, or TRIPLEQUAD. I suggest you write a loop or loops, calculating each output element by a (scalar-valued) call to QUAD2D.

Walter Roberson
Walter Roberson il 5 Gen 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by