integral2 in matlab 2010

 Réponse acceptée

Sean de Wolski
Sean de Wolski le 2 Mai 2012

0 votes

If your company/university/employer is current on their SMS subscription, you can download the latest versions from:

Plus de réponses (1)

the cyclist
the cyclist le 2 Mai 2012

0 votes

dblquad

7 commentaires

Lusine
Lusine le 2 Mai 2012
But as I know dblquand can not be used when the bounds are infinite
the cyclist
the cyclist le 2 Mai 2012
Please consider editing your question so that it includes all the relevant details, rather than writing the briefest possible question (which tends to elicit the briefest possible answer).
Lusine
Lusine le 2 Mai 2012
Sory! I need a function to clculate a double integral when the lower bound is negative infinity. As I unerstand interal2 function allows this, but I have mahlab 2010. So if its possible could You help me?
Sean de Wolski
Sean de Wolski le 2 Mai 2012
You could always upgrade to R2012a!
Lusine
Lusine le 2 Mai 2012
And how?
Walter Roberson
Walter Roberson le 2 Mai 2012
dblquad() allows you to specify the integration method, which could be quadgk() (possibly with a wrapper added to account for vector valued or scalar valued.)
Lusine
Lusine le 2 Mai 2012
Do you mean I can use an expression like this?
fun=@(x,y)exp(-(x.^2-2*ro*x*y+y.^2)/2*(1-ro).^2);
q=dblquad(fun,-Inf,0,-Inf,0,[],quadgk(),0.5)

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by