integral2 in matlab 2010

Which function can i use instead of integral2 in matlab 2010?

 Accepted Answer

Sean de Wolski
Sean de Wolski on 2 May 2012

0 votes

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

More Answers (1)

the cyclist
the cyclist on 2 May 2012

0 votes

dblquad

7 Comments

But as I know dblquand can not be used when the bounds are infinite
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).
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?
You could always upgrade to R2012a!
And how?
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.)
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)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!